From d57cb264771b0f6b4cea62c17bdbbce61c243917 Mon Sep 17 00:00:00 2001 From: Ramen2X Date: Fri, 15 Mar 2024 17:23:53 -0400 Subject: [PATCH] don't hardcode action ids in VTable0x64 --- LEGO1/lego/legoomni/src/worlds/registrationbook.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LEGO1/lego/legoomni/src/worlds/registrationbook.cpp b/LEGO1/lego/legoomni/src/worlds/registrationbook.cpp index 018d05e4..e0fd4524 100644 --- a/LEGO1/lego/legoomni/src/worlds/registrationbook.cpp +++ b/LEGO1/lego/legoomni/src/worlds/registrationbook.cpp @@ -228,6 +228,6 @@ MxLong RegistrationBook::HandleNotification19(MxParam& p_param) // FUNCTION: LEGO1 0x100783e0 MxBool RegistrationBook::VTable0x64() { - DeleteObjects(&m_atom, 500, 506); + DeleteObjects(&m_atom, RegbookScript::c_iic006in_RunAnim, RegbookScript::c_iic008in_PlayWav); return TRUE; }