Prevent exit sectors having any effect whatsoever outside of platform gametypes (resolve #396).

This commit is contained in:
toaster 2019-11-29 19:11:17 +00:00
parent d6c7a08fb2
commit de3731de93

View file

@ -4674,7 +4674,7 @@ DoneSection2:
} }
case 2: // Special stage GOAL sector / Exit Sector / CTF Flag Return case 2: // Special stage GOAL sector / Exit Sector / CTF Flag Return
if (player->bot) if (player->bot || !G_PlatformGametype())
break; break;
if (!(maptol & TOL_NIGHTS) && G_IsSpecialStage(gamemap) && player->nightstime > 6) if (!(maptol & TOL_NIGHTS) && G_IsSpecialStage(gamemap) && player->nightstime > 6)
{ {