- 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:
Christoph Oelckers 2016-05-22 01:26:13 +02:00
commit 36dfa97802
4 changed files with 32 additions and 24 deletions

View file

@ -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;