mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 05:30:48 +00:00
Fix P_NetArchiveSectorPortals
This commit is contained in:
parent
1c02badd47
commit
cef4cfe412
1 changed files with 2 additions and 2 deletions
|
@ -5255,8 +5255,8 @@ static void P_NetArchiveSectorPortals(save_t *save_p)
|
|||
P_WriteUINT32(save_p, SaveSector(secportals[i].sector));
|
||||
break;
|
||||
case SECPORTAL_OBJECT:
|
||||
if (secportals[i].mobj && !P_MobjWasRemoved(secportals[i].mobj))
|
||||
SaveMobjnum(secportals[i].mobj);
|
||||
if (!P_MobjWasRemoved(secportals[i].mobj))
|
||||
P_WriteUINT32(save_p, SaveMobjnum(secportals[i].mobj));
|
||||
else
|
||||
P_WriteUINT32(save_p, 0);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue