From c1dfd8df4e8d12866508d07721f97d0c62833c49 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sun, 24 Mar 2024 17:21:04 -0400 Subject: [PATCH] style --- LEGO1/lego/legoomni/src/police/policeentity.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LEGO1/lego/legoomni/src/police/policeentity.cpp b/LEGO1/lego/legoomni/src/police/policeentity.cpp index 7ee75586..227799d4 100644 --- a/LEGO1/lego/legoomni/src/police/policeentity.cpp +++ b/LEGO1/lego/legoomni/src/police/policeentity.cpp @@ -19,6 +19,7 @@ MxLong PoliceEntity::VTable0x50(MxParam& p_param) { if (FUN_1003ef60()) { Act1State* state = (Act1State*) GameState()->GetState("Act1State"); + if (state->GetUnknown18() != 10) { state->SetUnknown18(0); @@ -30,9 +31,9 @@ MxLong PoliceEntity::VTable0x50(MxParam& p_param) isle->SetDestLocation(LegoGameState::Area::e_police); AnimationManager()->FUN_10061010(NULL); - TransitionManager()->StartTransition(MxTransitionManager::e_mosaic, 50, FALSE, FALSE); } } + return 1; }