Merge branch 'master' of https://github.com/rheit/zdoom
This commit is contained in:
commit
8f61c1cdd8
17 changed files with 174 additions and 31 deletions
|
|
@ -544,7 +544,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
|
||||
|
|
@ -578,6 +578,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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue