Address review comments, part 2

This commit is contained in:
jonschz 2024-11-01 16:50:42 +01:00
parent a065aa10ad
commit 0bc3ca06b3

View File

@ -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;