- Use isWW2GI() in more places.

This commit is contained in:
Mitchell Richters 2021-07-11 12:42:33 +10:00
parent fe652c9348
commit 32283037ed
2 changed files with 2 additions and 2 deletions

View file

@ -930,7 +930,7 @@ const char* G_DefaultDefFile(void)
if (g_gameType & GAMEFLAG_DEER)
return "rrdeer.def";
if (g_gameType & GAMEFLAG_WW2GI)
if (isWW2GI())
return "ww2gi.def";
if (isSWALL())

View file

@ -3110,7 +3110,7 @@ static const char* ConFile(void)
// WW2GI anf NAM special con names got introduced by EDuke32.
// Do we really need these?
if (g_gameType & GAMEFLAG_WW2GI)
if (isWW2GI())
{
if (fileSystem.FindFile("ww2gi.con") >= 0) return "ww2gi.con";
}