mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-25 22:05:20 -04:00
add new steam dirs for Unity IWAD and Final Doom (#702)
This commit is contained in:
parent
292f7926c3
commit
383c0b4442
@ -211,6 +211,10 @@ static char *steam_install_subdirs[] =
|
||||
// From Doom 3: BFG Edition:
|
||||
|
||||
"steamapps\\common\\DOOM 3 BFG Edition\\base\\wads",
|
||||
|
||||
"steamapps\\common\\ultimate doom\\rerelease\\DOOM_Data\\StreamingAssets",
|
||||
"steamapps\\common\\doom 2\\rerelease\\DOOM II_Data\\StreamingAssets",
|
||||
"steamapps\\common\\doom 2\\finaldoombase"
|
||||
};
|
||||
|
||||
static char *GetRegistryString(registry_value_t *reg_val)
|
||||
|
10
src/d_main.c
10
src/d_main.c
@ -551,14 +551,10 @@ void D_DoAdvanceDemo(void)
|
||||
name = demostates[demosequence][gamemode].name;
|
||||
if (name && !strcasecmp(name, "TITLEPIC"))
|
||||
{
|
||||
int i = W_CheckNumForName("TITLEPIC");
|
||||
int j = W_CheckNumForName("DMENUPIC");
|
||||
|
||||
if (i < 0 || (j >= 0 && W_IsIWADLump(i)))
|
||||
name = (j >= 0) ? "DMENUPIC" : "INTERPIC";
|
||||
if (W_CheckNumForName("TITLEPIC") < 0)
|
||||
name = "DMENUPIC";
|
||||
}
|
||||
demostates[demosequence][gamemode].func
|
||||
(name);
|
||||
demostates[demosequence][gamemode].func(name);
|
||||
}
|
||||
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user