add new steam dirs for Unity IWAD and Final Doom (#702)

This commit is contained in:
Roman Fomin 2022-08-18 23:05:37 +07:00 committed by GitHub
parent 292f7926c3
commit 383c0b4442
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -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)

View File

@ -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);
}
//