- added polyportal offset updates.

- removed the nodebuilder message for splitting polyobject subsectors because it is no longer relevant.
This commit is contained in:
Christoph Oelckers 2016-04-17 17:10:11 +02:00
commit 3ed7a25d61
7 changed files with 82 additions and 13 deletions

View file

@ -539,7 +539,7 @@ void P_SerializePolyobjs (FArchive &arc)
arc << seg << po_NumPolyobjs;
for(i = 0, po = polyobjs; i < po_NumPolyobjs; i++, po++)
{
arc << po->tag << po->Angle << po->StartSpot.pos << po->interpolation << po->bBlocked;
arc << po->tag << po->Angle << po->StartSpot.pos << po->interpolation << po->bBlocked << po->bHasPortals;
}
}
else
@ -573,6 +573,14 @@ void P_SerializePolyobjs (FArchive &arc)
{
po->bBlocked = false;
}
if (SaveVersion >= 4538)
{
arc << po->bHasPortals;
}
else
{
po->bHasPortals = 0;
}
po->RotatePolyobj (angle, true);
delta -= po->StartSpot.pos;