- Fixed: ST_Endoom must exit, even if showendoom is set to false.

SVN r442 (trunk)
This commit is contained in:
Christoph Oelckers 2007-01-06 16:13:21 +00:00
parent 34c6f64d82
commit 79a4bfbdf0

View file

@ -757,7 +757,7 @@ CVAR(Bool, showendoom, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
void ST_Endoom() void ST_Endoom()
{ {
if (!showendoom) return; if (!showendoom) exit(0);
int endoom_lump = Wads.CheckNumForName ( int endoom_lump = Wads.CheckNumForName (
gameinfo.gametype == GAME_Doom? "ENDOOM" : gameinfo.gametype == GAME_Doom? "ENDOOM" :