- avoid double linking to and unlinking from the world for actors.

Some people apparently have to toy around with the engine's innards without fully understanding them. :(
When properly used the saveguards should never be triggered.
This commit is contained in:
Christoph Oelckers 2020-09-26 19:09:00 +02:00
commit 8fc9f1e5ef
3 changed files with 15 additions and 1 deletions

View file

@ -371,7 +371,7 @@ void AActor::Serialize(FSerializer &arc)
SerializeTerrain(arc, "floorterrain", floorterrain, &def->floorterrain);
SerializeArgs(arc, "args", args, def->args, special);
if (arc.isReading()) flags8 &= ~MF8_LINKEDTOWORLD;
}
#undef A