fixed: AActor's members must all be native.

The morph code added 4 scripted ones, but AActor's size must be known at compile time.
This commit is contained in:
Christoph Oelckers 2024-04-25 18:14:39 +02:00
commit 7c9c7fa1f7
4 changed files with 21 additions and 6 deletions

View file

@ -393,7 +393,13 @@ void AActor::Serialize(FSerializer &arc)
A("userlights", UserLights)
A("WorldOffset", WorldOffset)
("modelData", modelData)
A("LandingSpeed", LandingSpeed);
A("LandingSpeed", LandingSpeed)
("unmorphtime", UnmorphTime)
("morphflags", MorphFlags)
("premorphproperties", PremorphProperties)
("morphexitflash", MorphExitFlash);
SerializeTerrain(arc, "floorterrain", floorterrain, &def->floorterrain);
SerializeArgs(arc, "args", args, def->args, special);