From caea16cb756325863e9fefac29db8828f170fba2 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Fri, 2 Feb 2024 11:44:28 -0500 Subject: [PATCH] Match --- LEGO1/lego/legoomni/src/entity/legoworld.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LEGO1/lego/legoomni/src/entity/legoworld.cpp b/LEGO1/lego/legoomni/src/entity/legoworld.cpp index c61b8e33..47c3b3e3 100644 --- a/LEGO1/lego/legoomni/src/entity/legoworld.cpp +++ b/LEGO1/lego/legoomni/src/entity/legoworld.cpp @@ -519,8 +519,8 @@ MxCore* LegoWorld::Find(const MxAtomId& p_atom, MxS32 p_entityId) // FUNCTION: LEGO1 0x10021a70 void LegoWorld::VTable0x68(MxBool p_add) { - if (p_add) { - if (!m_set0xd0.empty() && CurrentWorld() != this) { + if (p_add && !m_set0xd0.empty()) { + if (CurrentWorld() != this) { if (CurrentWorld()) { AnimationManager()->FUN_10061010(0); CurrentWorld()->VTable0x68(FALSE); @@ -569,7 +569,7 @@ void LegoWorld::VTable0x68(MxBool p_add) SetIsWorldActive(TRUE); } } - else if (m_set0xd0.empty()) { + else if (!p_add && m_set0xd0.empty()) { MxPresenter* presenter; LegoPathController* controller; IslePathActor* vehicle = CurrentVehicle();