- fixed: Polyobjects did not save their specialdata pointer.
- fixed: DMovePoly did not save its m_Speedv member. # Conflicts: # src/version.h
This commit is contained in:
parent
bd396ccb7c
commit
36dfa97802
4 changed files with 32 additions and 24 deletions
|
|
@ -565,6 +565,7 @@ void P_SerializePolyobjs (FArchive &arc)
|
|||
for(i = 0, po = polyobjs; i < po_NumPolyobjs; i++, po++)
|
||||
{
|
||||
arc << po->tag << po->Angle << po->StartSpot.pos << po->interpolation << po->bBlocked << po->bHasPortals;
|
||||
arc << po->specialdata;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
@ -592,6 +593,10 @@ void P_SerializePolyobjs (FArchive &arc)
|
|||
arc << angle << delta << po->interpolation;
|
||||
arc << po->bBlocked;
|
||||
arc << po->bHasPortals;
|
||||
if (SaveVersion >= 4548)
|
||||
{
|
||||
arc << po->specialdata;
|
||||
}
|
||||
|
||||
po->RotatePolyobj (angle, true);
|
||||
delta -= po->StartSpot.pos;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue