mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 10:52:23 +00:00
Don't spawn End Level Signs without the GTR_ALLOWEXIT rule
This commit is contained in:
parent
74a4ec6f54
commit
4ad1727b66
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue