- Blood: save basepoint for all actors, not just for those with an XSPRITE.

This commit is contained in:
Christoph Oelckers 2022-01-01 15:52:05 +01:00
parent 9680ff1863
commit 3499049976

View file

@ -474,7 +474,8 @@ void DBloodActor::Serialize(FSerializer& arc)
arc("xvel", vel.X)
("yvel", vel.Y)
("zvel", vel.Z)
("hasx", hasx);
("hasx", hasx)
("basepoint", basePoint);
// The rest is only relevant if the actor has an xsprite.
if (hasX())
@ -484,9 +485,10 @@ void DBloodActor::Serialize(FSerializer& arc)
("dudeextra", dudeExtra)
("explosionflag", explosionhackflag)
("spritehit", hit)
("basepoint", basePoint)
("owneractor", ownerActor);
}
#ifdef NOONE_EXTENSIONS
if (gModernMap)
{
@ -502,7 +504,6 @@ void DBloodActor::Serialize(FSerializer& arc)
}
}
#endif
}
}
//---------------------------------------------------------------------------