From 0bc3ca06b34402b356d62b503a151478eb5b1c0e Mon Sep 17 00:00:00 2001 From: jonschz Date: Fri, 1 Nov 2024 16:50:42 +0100 Subject: [PATCH] Address review comments, part 2 --- LEGO1/lego/legoomni/src/build/legocarbuild.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/LEGO1/lego/legoomni/src/build/legocarbuild.cpp b/LEGO1/lego/legoomni/src/build/legocarbuild.cpp index eaffcea7..d03e4f09 100644 --- a/LEGO1/lego/legoomni/src/build/legocarbuild.cpp +++ b/LEGO1/lego/legoomni/src/build/legocarbuild.cpp @@ -841,11 +841,7 @@ undefined4 LegoCarBuild::FUN_10024890(MxParam* p_param) m_buildState->m_unk0x4d = TRUE; InvokeAction(Extra::e_start, m_atomId, m_carId, NULL); - { - // This pattern is suggested by BETA10 and also improves the LEGO1 match - MxNotificationParam param; - NotificationManager()->Send(this, param); - } + NotificationManager()->Send(this, MxNotificationParam()); m_buildState->m_animationState = LegoVehicleBuildState::e_unknown4; } @@ -927,10 +923,7 @@ undefined4 LegoCarBuild::FUN_10024890(MxParam* p_param) if (GameState()->GetCurrentAct() == 0) { InvokeAction(Extra::e_start, m_atomId, m_carId, NULL); - { - MxNotificationParam param; - NotificationManager()->Send(this, param); - } + NotificationManager()->Send(this, MxNotificationParam()); assert(m_buildState); m_buildState->m_animationState = LegoVehicleBuildState::e_unknown4;