P_SpawnSpecialsThatRequireObjects Saturn parity
Fixes the netgame midjoin issue described in #202
This commit is contained in:
parent
6aa091d019
commit
8b777cb251
3 changed files with 4 additions and 4 deletions
|
|
@ -9062,7 +9062,7 @@ boolean P_LoadLevel(boolean fromnetsave, boolean reloadinggamestate)
|
|||
if (!playerstarts[numcoopstarts])
|
||||
break;
|
||||
|
||||
P_SpawnSpecialsThatRequireObjects(fromnetsave);
|
||||
P_SpawnSpecialsThatRequireObjects(reloadinggamestate);
|
||||
|
||||
if (!udmf)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8098,7 +8098,7 @@ void P_SpawnSpecials(boolean fromnetsave)
|
|||
|
||||
/** Fuck polyobjects
|
||||
*/
|
||||
void P_SpawnSpecialsThatRequireObjects(boolean fromnetsave)
|
||||
void P_SpawnSpecialsThatRequireObjects(boolean reloadinggamestate)
|
||||
{
|
||||
size_t i;
|
||||
|
||||
|
|
@ -8139,7 +8139,7 @@ void P_SpawnSpecialsThatRequireObjects(boolean fromnetsave)
|
|||
}
|
||||
}
|
||||
|
||||
if (!fromnetsave)
|
||||
if (!reloadinggamestate)
|
||||
P_RunLevelLoadExecutors();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -572,7 +572,7 @@ void P_InitSpecials(void);
|
|||
void P_ApplyFlatAlignment(sector_t* sector, angle_t flatangle, fixed_t xoffs, fixed_t yoffs, boolean floor, boolean ceiling);
|
||||
fixed_t P_GetSectorGravityFactor(sector_t *sec);
|
||||
void P_SpawnSpecials(boolean fromnetsave);
|
||||
void P_SpawnSpecialsThatRequireObjects(boolean fromnetsave);
|
||||
void P_SpawnSpecialsThatRequireObjects(boolean reloadinggamestate);
|
||||
|
||||
// every tic
|
||||
void P_UpdateSpecials(void);
|
||||
|
|
|
|||
Loading…
Reference in a new issue