- added support for loading eduke.con for DN3D mods.

This is EDuke32's standard so it needs to be handled for mods using this name.
This commit is contained in:
Christoph Oelckers 2020-01-30 20:53:39 +01:00
parent 4bf519dcb0
commit 08a5c5ff4d

View file

@ -888,6 +888,11 @@ const char* G_DefaultConFile(void)
if (fileSystem.FindFile("nam.con") >= 0) return "nam.con";
}
if (g_gameType & GAMEFLAG_DUKE)
{
if (fileSystem.FindFile("eduke.con") >= 0) return "eduke.con"; // No, we're not EDUKE, but several mods expect this to work.
}
// the other games only use game.con.
return "game.con";
}