Don't spawn End Level Signs without the GTR_ALLOWEXIT rule

This commit is contained in:
Jaime Passos 2019-12-19 17:06:07 -03:00
parent 74a4ec6f54
commit 4ad1727b66
1 changed files with 4 additions and 2 deletions

View File

@ -11838,8 +11838,10 @@ You should think about modifying the deathmatch starts to take full advantage of
}
}
if (!G_PlatformGametype() && (i == MT_SIGN || i == MT_STARPOST))
return; // Don't spawn exit signs or starposts in wrong game modes
if (!(gametyperules & GTR_ALLOWEXIT) && i == MT_SIGN)
return; // Don't spawn exit signs without the necessary gametype rule
if (!G_PlatformGametype() && i == MT_STARPOST)
return; // Don't spawn starposts in wrong game modes
if (modeattacking) // Record Attack special stuff
{