Skip to content

Commit

Permalink
Match LegoCarBuild::FUN_10024c20 (#1296)
Browse files Browse the repository at this point in the history
  • Loading branch information
foxtacles authored Dec 28, 2024
1 parent 63bfb95 commit fd27efc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions LEGO1/lego/legoomni/src/build/legocarbuild.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1203,16 +1203,15 @@ undefined4 LegoCarBuild::FUN_10024c20(LegoEventNotificationParam* p_param)
assert(destWorld);
m_buildState->m_animationState = LegoVehicleBuildState::e_exiting;

if (m_unk0x258->AllPartsPlaced()) {
if (!m_unk0x258->AllPartsPlaced()) {
FUN_100243a0();
}
else {
FUN_10025720(5);
}
}
else {
MxNotificationParam param;
NotificationManager()->Send(this, param);
NotificationManager()->Send(this, MxNotificationParam());
}
break;
case 2:
Expand All @@ -1239,9 +1238,8 @@ undefined4 LegoCarBuild::FUN_10024c20(LegoEventNotificationParam* p_param)
FUN_10024ef0();
}
else {
MxNotificationParam p;
// In BETA10, NotificationManager->Send() also takes __FILE__ and __LINE__ arguments
NotificationManager()->Send(this, p);
NotificationManager()->Send(this, MxNotificationParam());
}
break;
}
Expand Down

0 comments on commit fd27efc

Please sign in to comment.