From c204125a154a83ae92276b229af00f3876be8659 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Thu, 12 Dec 2024 08:58:51 -0700 Subject: [PATCH] Add `Act3Cop::VTable0x9c` --- LEGO1/lego/legoomni/src/actors/act3actors.cpp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/LEGO1/lego/legoomni/src/actors/act3actors.cpp b/LEGO1/lego/legoomni/src/actors/act3actors.cpp index 8f5488b1..c6a8d885 100644 --- a/LEGO1/lego/legoomni/src/actors/act3actors.cpp +++ b/LEGO1/lego/legoomni/src/actors/act3actors.cpp @@ -166,11 +166,19 @@ void Act3Cop::FUN_10040360() // TODO } -// STUB: LEGO1 0x10040d20 +// FUNCTION: LEGO1 0x10040d20 +// FUNCTION: BETA10 0x1001942c MxResult Act3Cop::VTable0x9c() { - // TODO - return SUCCESS; + if (m_grec && !m_grec->GetBit1()) { + delete m_grec; + m_grec = NULL; + m_lastTime = Timer()->GetTime(); + FUN_10040360(); + return SUCCESS; + } + + return Act3Actor::VTable0x9c(); } // FUNCTION: LEGO1 0x10040e10