From e8bf8a965859427bcf5746b897ff3183c1ab9bfb Mon Sep 17 00:00:00 2001 From: LHoG <1476261+lhog@users.noreply.github.com> Date: Tue, 8 Feb 2022 23:58:47 +0300 Subject: [PATCH] Save/Load forgotten groundBlockingObjectMap --- rts/System/LoadSave/CregLoadSaveHandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rts/System/LoadSave/CregLoadSaveHandler.cpp b/rts/System/LoadSave/CregLoadSaveHandler.cpp index b8ae35d1e6..7e8a0801b8 100644 --- a/rts/System/LoadSave/CregLoadSaveHandler.cpp +++ b/rts/System/LoadSave/CregLoadSaveHandler.cpp @@ -20,6 +20,7 @@ #include "Sim/Features/FeatureHandler.h" #include "Sim/Units/UnitHandler.h" #include "Sim/Misc/BuildingMaskMap.h" +#include "Sim/Misc/GroundBlockingObjectMap.h" #include "Sim/Misc/InterceptHandler.h" #include "Sim/Misc/LosHandler.h" #include "Sim/Misc/QuadField.h" @@ -85,6 +86,7 @@ void CGameStateCollector::Serialize(creg::ISerializer* s) s->SerializeObjectInstance(losHandler, losHandler->GetClass()); s->SerializeObjectInstance(&interceptHandler, interceptHandler.GetClass()); s->SerializeObjectInstance(CCategoryHandler::Instance(), CCategoryHandler::Instance()->GetClass()); + s->SerializeObjectInstance(&groundBlockingObjectMap, groundBlockingObjectMap.GetClass()); s->SerializeObjectInstance(&buildingMaskMap, buildingMaskMap.GetClass()); s->SerializeObjectInstance(&projectileHandler, projectileHandler.GetClass()); CPlasmaRepulser::SerializeShieldSegmentCollectionPool(s);