Fixes a duplicated condition which sends the player back to the title screen under advancemap next. Teeechnically does stuff for issue #91, but I'd like to take a more thorough approach later once I've got consent for a potentially radical change to this currently useless feature.

This commit is contained in:
toaster 2020-09-23 15:08:21 +01:00
parent f6158b7cf4
commit efdb8e67d9

View file

@ -3476,7 +3476,7 @@ static void G_DoCompleted(void)
// a map of the proper gametype -- skip levels that don't support
// the current gametype. (Helps avoid playing boss levels in Race,
// for instance).
if (!modeattacking && grandprixinfo.gp == false && (nextmap >= 0 && nextmap < NUMMAPS))
if (!modeattacking && grandprixinfo.gp == false)
{
if (nextmap >= 0 && nextmap < NUMMAPS)
{