From a0498a983db414275603d644fea33726771062b2 Mon Sep 17 00:00:00 2001 From: jonschz Date: Wed, 1 May 2024 07:44:22 +0200 Subject: [PATCH] 89 percent VTable0xcc --- LEGO1/lego/legoomni/src/actors/skateboard.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LEGO1/lego/legoomni/src/actors/skateboard.cpp b/LEGO1/lego/legoomni/src/actors/skateboard.cpp index 5535e04f..bec18a20 100644 --- a/LEGO1/lego/legoomni/src/actors/skateboard.cpp +++ b/LEGO1/lego/legoomni/src/actors/skateboard.cpp @@ -72,7 +72,7 @@ void SkateBoard::VTable0xe4() MxU32 SkateBoard::VTable0xcc() { Act1State* state = (Act1State*) GameState()->GetState("Act1State"); - if (FUN_1003ef60() && state->GetUnknown18() != 3) { + if (!FUN_1003ef60() && state->GetUnknown18() != 3) { return 1; } FUN_10015820(TRUE, 0); @@ -85,6 +85,7 @@ MxU32 SkateBoard::VTable0xcc() } } if (!CurrentActor()->IsA("SkateBoard")) { + VTable0xe0(); InvokeAction(Extra::ActionType::e_start, *g_isleScript, 0xc1, NULL); GetCurrentAction().SetObjectId(-1); ControlManager()->Register(this);