From 98024f12e180332c4b19c05a7be0073202d1a54a Mon Sep 17 00:00:00 2001 From: viciious Date: Thu, 19 Oct 2023 13:16:20 +0300 Subject: [PATCH] Simplify code --- p_setup.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/p_setup.c b/p_setup.c index f842fda49..16ea2ef38 100644 --- a/p_setup.c +++ b/p_setup.c @@ -170,7 +170,6 @@ void P_LoadSectors (int lump) // pop the WAD stack to point to the IWAD, // otherwise R_FlatNumForName is going to break W_Pop(); - W_Pop(); ms = (mapsector_t *)data; ss = sectors; @@ -205,7 +204,6 @@ void P_LoadSectors (int lump) } W_Push(); - W_Push(); } @@ -669,7 +667,6 @@ D_printf ("P_SetupLevel(%s,%i)\n",lumpname,skill); lumps[i] = lumpnum+i; pwad.numlumps = W_GetLumpInfoSubset(li, W_GetLumpInfo(), ML_BLOCKMAP+1, lumps); - W_Push(); W_SetPWAD(&pwad, li); /* note: most of this ordering is important */ @@ -712,8 +709,6 @@ D_printf ("P_SetupLevel(%s,%i)\n",lumpname,skill); W_Pop(); - W_Pop(); - /* */ /* if deathmatch, randomly spawn the active players */ /* */