mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 03:12:00 -04:00
fix not reading doom2-all/
, doom1-all/
autoload directories (#2128)
Closes #2127 Co-authored-by: Fabian Greffrath <fabian@greffrath.com>
This commit is contained in:
parent
a4b08b7152
commit
afd3ac8686
@ -1393,6 +1393,15 @@ static void LoadIWadBase(void)
|
||||
{
|
||||
W_AddBaseDir("doom-all");
|
||||
}
|
||||
if (local_gamemission == doom)
|
||||
{
|
||||
W_AddBaseDir("doom1-all");
|
||||
}
|
||||
else if (local_gamemission >= doom2
|
||||
&& local_gamemission <= pack_plut)
|
||||
{
|
||||
W_AddBaseDir("doom2-all");
|
||||
}
|
||||
W_AddBaseDir(M_BaseName(wadfiles[0]));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user