diff --git a/YRpp b/YRpp index d8fb5ec3b1..6455396c85 160000 --- a/YRpp +++ b/YRpp @@ -1 +1 @@ -Subproject commit d8fb5ec3b1274cf268e802d50f84a2446aaae492 +Subproject commit 6455396c852421cdce9c671e4ef3d0b901dac05f diff --git a/src/Ext/Techno/Body.Update.cpp b/src/Ext/Techno/Body.Update.cpp index 788cbb2857..17774b0cb6 100644 --- a/src/Ext/Techno/Body.Update.cpp +++ b/src/Ext/Techno/Body.Update.cpp @@ -477,7 +477,7 @@ void TechnoExt::ExtData::UpdateTypeData(TechnoTypeClass* pCurrentType) // OpenTopped adds passengers to logic layer when enabled. Under normal conditions this does not need to be removed since // OpenTopped state does not change while passengers are still in transport but in case of type conversion that can happen. - MapClass::Logics->RemoveObject(pPassenger); + LogicClass::Instance->RemoveObject(pPassenger); } pPassenger = abstract_cast(pPassenger->NextObject);