- moved the combined compatibility flags into FLevelLocals.

This commit is contained in:
Christoph Oelckers 2019-01-29 19:28:22 +01:00
commit 6451b7d592
35 changed files with 162 additions and 97 deletions

View file

@ -984,7 +984,9 @@ void FLevelLocals::Serialize(FSerializer &arc, bool hubload)
Behaviors.SerializeModuleStates(arc);
// The order here is important: First world state, then portal state, then thinkers, and last polyobjects.
SetCompatLineOnSide(false); // This flag should not be saved. It solely depends on current compatibility state.
arc("linedefs", lines, loadlines);
SetCompatLineOnSide(true);
arc("sidedefs", sides, loadsides);
arc("sectors", sectors, loadsectors);
arc("zones", Zones);