mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
- 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:
parent
4bf519dcb0
commit
08a5c5ff4d
1 changed files with 5 additions and 0 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue