Merge branch 'be-more-nice-with-levelselect-mp' into 'master'

Remove level select restrictions in DEVELOP Multiplayer

Closes #238

See merge request STJr/SRB2Internal!399
This commit is contained in:
MascaraSnake 2019-10-25 15:26:09 -04:00
commit 080ff854b8
1 changed files with 4 additions and 2 deletions

View File

@ -4546,10 +4546,12 @@ static boolean M_LevelAvailableOnPlatter(INT32 mapnum)
if (!(mapheaderinfo[mapnum]->typeoflevel & TOL_COOP))
return true;
if (mapvisited[mapnum]) // MV_MP
if (mapnum+1 == spstage_start)
return true;
if (mapnum+1 == spstage_start)
#ifndef DEVELOP
if (mapvisited[mapnum]) // MV_MP
#endif
return true;
/* FALLTHRU */