mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Match LegoCarBuild::FUN_10024c20
(#1296)
This commit is contained in:

committed by
GitHub

parent
63bfb95d80
commit
fd27efcc22
@@ -1203,7 +1203,7 @@ undefined4 LegoCarBuild::FUN_10024c20(LegoEventNotificationParam* p_param)
|
|||||||
assert(destWorld);
|
assert(destWorld);
|
||||||
m_buildState->m_animationState = LegoVehicleBuildState::e_exiting;
|
m_buildState->m_animationState = LegoVehicleBuildState::e_exiting;
|
||||||
|
|
||||||
if (m_unk0x258->AllPartsPlaced()) {
|
if (!m_unk0x258->AllPartsPlaced()) {
|
||||||
FUN_100243a0();
|
FUN_100243a0();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -1211,8 +1211,7 @@ undefined4 LegoCarBuild::FUN_10024c20(LegoEventNotificationParam* p_param)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
MxNotificationParam param;
|
NotificationManager()->Send(this, MxNotificationParam());
|
||||||
NotificationManager()->Send(this, param);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
@@ -1239,9 +1238,8 @@ undefined4 LegoCarBuild::FUN_10024c20(LegoEventNotificationParam* p_param)
|
|||||||
FUN_10024ef0();
|
FUN_10024ef0();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
MxNotificationParam p;
|
|
||||||
// In BETA10, NotificationManager->Send() also takes __FILE__ and __LINE__ arguments
|
// In BETA10, NotificationManager->Send() also takes __FILE__ and __LINE__ arguments
|
||||||
NotificationManager()->Send(this, p);
|
NotificationManager()->Send(this, MxNotificationParam());
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user