diff options
Diffstat (limited to 'src/hexen/p_setup.c')
-rw-r--r-- | src/hexen/p_setup.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/hexen/p_setup.c b/src/hexen/p_setup.c index 02f88737..abcab748 100644 --- a/src/hexen/p_setup.c +++ b/src/hexen/p_setup.c @@ -288,9 +288,6 @@ void P_LoadSectors(int lump) ms = (mapsector_t *) data; ss = sectors; - // Make sure primary lumps are used for flat searching - W_UsePrimary(); - for (i = 0; i < numsectors; i++, ss++, ms++) { ss->floorheight = SHORT(ms->floorheight) << FRACBITS; @@ -303,10 +300,6 @@ void P_LoadSectors(int lump) ss->thinglist = NULL; ss->seqType = SEQTYPE_STONE; // default seqType } - if (DevMaps) - { - W_UseAuxiliary(); - } Z_Free(data); } @@ -513,9 +506,6 @@ void P_LoadSideDefs(int lump) msd = (mapsidedef_t *) data; sd = sides; - // Make sure primary lumps are used for texture searching - W_UsePrimary(); - for (i = 0; i < numsides; i++, msd++, sd++) { sd->textureoffset = SHORT(msd->textureoffset) << FRACBITS; @@ -525,10 +515,6 @@ void P_LoadSideDefs(int lump) sd->midtexture = R_TextureNumForName(msd->midtexture); sd->sector = §ors[SHORT(msd->sector)]; } - if (DevMaps) - { - W_UseAuxiliary(); - } Z_Free(data); } @@ -694,11 +680,6 @@ void P_SetupLevel(int episode, int map, int playermask, skill_t skill) P_InitThinkers(); leveltime = 0; - if (DevMaps) - { - sprintf(auxName, "%sMAP%02d.WAD", DevMapsDir, map); - W_OpenAuxiliary(auxName); - } sprintf(lumpname, "MAP%02d", map); lumpnum = W_GetNumForName(lumpname); // @@ -724,14 +705,6 @@ void P_SetupLevel(int episode, int map, int playermask, skill_t skill) // // End of map lump processing // - if (DevMaps) - { - // Close the auxiliary file, but don't free its loaded lumps. - // The next call to W_OpenAuxiliary() will do a full shutdown - // of the current auxiliary WAD (free lumps and info lists). - W_CloseAuxiliaryFile(); - W_UsePrimary(); - } // If deathmatch, randomly spawn the active players TimerGame = 0; |