P_SetupSignExit: Bail early if gametype has GTR_SPECIALSTART

This commit is contained in:
toaster 2023-06-18 22:09:49 +01:00
parent e507a8b0ad
commit ed8158c00c

View file

@ -4647,11 +4647,12 @@ void P_SetupSignExit(player_t *player, boolean tie)
thinker_t *think;
INT32 numfound = 0;
angle_t bestAngle = K_MomentumAngle(player->mo) + ANGLE_180;
if (player->position != 1)
if (player->position != 1
|| (gametyperules & GTR_SPECIALSTART))
return;
angle_t bestAngle = K_MomentumAngle(player->mo) + ANGLE_180;
for (; node; node = node->m_thinglist_next)
{
thing = node->m_thing;