diff --git a/source/core/searchpaths.cpp b/source/core/searchpaths.cpp index ad51036f2..b82fdda74 100644 --- a/source/core/searchpaths.cpp +++ b/source/core/searchpaths.cpp @@ -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()) diff --git a/source/games/duke/src/gamedef.cpp b/source/games/duke/src/gamedef.cpp index 89ccc2dda..1c3edd0a5 100644 --- a/source/games/duke/src/gamedef.cpp +++ b/source/games/duke/src/gamedef.cpp @@ -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"; }