mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-20 17:21:22 +00:00
P_LoadThingsOnly() no longer reloads the mapthings lump, as mapthings are no longer altered by spawning functions.
This commit is contained in:
parent
a72b0b222d
commit
c19c0d5492
1 changed files with 0 additions and 5 deletions
|
@ -2126,8 +2126,6 @@ void P_LoadThingsOnly(void)
|
|||
// Search through all the thinkers.
|
||||
thinker_t *think;
|
||||
INT32 i, viewid = -1, centerid = -1; // for skyboxes
|
||||
virtres_t* virt = vres_GetMap(lastloadedmaplumpnum);
|
||||
virtlump_t* vth = vres_Find(virt, "THINGS");
|
||||
|
||||
// check if these are any of the normal viewpoint/centerpoint mobjs in the level or not
|
||||
if (skyboxmo[0] || skyboxmo[1])
|
||||
|
@ -2148,11 +2146,8 @@ void P_LoadThingsOnly(void)
|
|||
|
||||
P_LevelInitStuff();
|
||||
|
||||
P_PrepareRawThings(vth->data, vth->size);
|
||||
P_LoadThings(true);
|
||||
|
||||
vres_Free(virt);
|
||||
|
||||
// restore skybox viewpoint/centerpoint if necessary, set them to defaults if we can't do that
|
||||
skyboxmo[0] = skyboxviewpnts[(viewid >= 0) ? viewid : 0];
|
||||
skyboxmo[1] = skyboxcenterpnts[(centerid >= 0) ? centerid : 0];
|
||||
|
|
Loading…
Reference in a new issue