mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
Duke: disable loading of eduke.com and check raze.con instead, now also for RR.
This commit is contained in:
parent
b383a99065
commit
af0ee3451d
1 changed files with 9 additions and 1 deletions
|
@ -3153,11 +3153,19 @@ static const char* ConFile(void)
|
||||||
if (fileSystem.FindFile("nam.con") >= 0) return "nam.con";
|
if (fileSystem.FindFile("nam.con") >= 0) return "nam.con";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
// This got introduced by EDuke 2.0.
|
// This got introduced by EDuke 2.0.
|
||||||
if (g_gameType & GAMEFLAG_DUKE)
|
if (g_gameType & GAMEFLAG_DUKE)
|
||||||
{
|
{
|
||||||
if (fileSystem.FindFile("eduke.con") >= 0) return "eduke.con";
|
if (fileSystem.FindFile("eduke.con") >= 0) return "eduke.con";
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// This will load for all games using CON.
|
||||||
|
if (g_gameType & GAMEFLAG_DUKECOMPAT)
|
||||||
|
{
|
||||||
|
if (fileSystem.FindFile("raze.con") >= 0) return "raze.con";
|
||||||
|
}
|
||||||
|
|
||||||
// the other games only use game.con.
|
// the other games only use game.con.
|
||||||
return "game.con";
|
return "game.con";
|
||||||
|
|
Loading…
Reference in a new issue