From 934c1789414dca04376de2a41f39ba5e911fc4e6 Mon Sep 17 00:00:00 2001 From: toaster Date: Sun, 10 Jun 2018 20:02:34 +0100 Subject: [PATCH] Remove unpopular exitlevel limitation. --- src/d_netcmd.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index bd1f93512..25c4147e5 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -3929,28 +3929,7 @@ static void Command_ExitLevel_f(void) else if (gamestate != GS_LEVEL || demoplayback) CONS_Printf(M_GetText("You must be in a level to use this.\n")); else - { - if ((netgame || multiplayer) - && ((mapheaderinfo[gamemap-1]->nextlevel <= 0) - || (mapheaderinfo[gamemap-1]->nextlevel > NUMMAPS) - || !(mapvisited[mapheaderinfo[gamemap-1]->nextlevel-1]))) - { - UINT8 i; - for (i = 0; i < MAXPLAYERS; i++) - { - if (playeringame[i] && players[i].exiting) - break; - } - - if (i == MAXPLAYERS) - { - CONS_Printf(M_GetText("Someone must finish the level for you to use this.\n")); - return; - } - } - SendNetXCmd(XD_EXITLEVEL, NULL, 0); - } } static void Got_ExitLevelcmd(UINT8 **cp, INT32 playernum)