mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- Use isWW2GI()
in more places.
This commit is contained in:
parent
fe652c9348
commit
32283037ed
2 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue