Merge branch 'specialstagecheck' into 'next'

A special stage is a special stage, even outside of coop.

Closes #211

See merge request STJr/SRB2!1180
This commit is contained in:
James R 2020-10-12 18:08:02 -04:00
commit c9532c32e2

View file

@ -3518,7 +3518,7 @@ INT32 G_GetGametypeByName(const char *gametypestr)
// //
boolean G_IsSpecialStage(INT32 mapnum) boolean G_IsSpecialStage(INT32 mapnum)
{ {
if (gametype != GT_COOP || modeattacking == ATTACKING_RECORD) if (modeattacking == ATTACKING_RECORD)
return false; return false;
if (mapnum >= sstage_start && mapnum <= sstage_end) if (mapnum >= sstage_start && mapnum <= sstage_end)
return true; return true;