mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 00:31:16 +00:00
Address review comments, part 2
This commit is contained in:
parent
a065aa10ad
commit
0bc3ca06b3
@ -841,11 +841,7 @@ undefined4 LegoCarBuild::FUN_10024890(MxParam* p_param)
|
|||||||
m_buildState->m_unk0x4d = TRUE;
|
m_buildState->m_unk0x4d = TRUE;
|
||||||
InvokeAction(Extra::e_start, m_atomId, m_carId, NULL);
|
InvokeAction(Extra::e_start, m_atomId, m_carId, NULL);
|
||||||
|
|
||||||
{
|
NotificationManager()->Send(this, MxNotificationParam());
|
||||||
// This pattern is suggested by BETA10 and also improves the LEGO1 match
|
|
||||||
MxNotificationParam param;
|
|
||||||
NotificationManager()->Send(this, param);
|
|
||||||
}
|
|
||||||
|
|
||||||
m_buildState->m_animationState = LegoVehicleBuildState::e_unknown4;
|
m_buildState->m_animationState = LegoVehicleBuildState::e_unknown4;
|
||||||
}
|
}
|
||||||
@ -927,10 +923,7 @@ undefined4 LegoCarBuild::FUN_10024890(MxParam* p_param)
|
|||||||
if (GameState()->GetCurrentAct() == 0) {
|
if (GameState()->GetCurrentAct() == 0) {
|
||||||
InvokeAction(Extra::e_start, m_atomId, m_carId, NULL);
|
InvokeAction(Extra::e_start, m_atomId, m_carId, NULL);
|
||||||
|
|
||||||
{
|
NotificationManager()->Send(this, MxNotificationParam());
|
||||||
MxNotificationParam param;
|
|
||||||
NotificationManager()->Send(this, param);
|
|
||||||
}
|
|
||||||
|
|
||||||
assert(m_buildState);
|
assert(m_buildState);
|
||||||
m_buildState->m_animationState = LegoVehicleBuildState::e_unknown4;
|
m_buildState->m_animationState = LegoVehicleBuildState::e_unknown4;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user