mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-27 10:24:18 +00:00
Clear unknowns in LegoVehicleBuildState (#1684)
This commit is contained in:
@@ -583,11 +583,11 @@ void IslePathActor::SpawnPlayer(LegoGameState::Area p_area, MxBool p_enter, MxU8
|
||||
break;
|
||||
}
|
||||
|
||||
if (state != NULL && state->m_unk0x4d && !state->m_unk0x4e) {
|
||||
if (state != NULL && state->m_finishedBuild && !state->m_playedExitScript) {
|
||||
if (AnimationManager()
|
||||
->FUN_10060dc0(anim, NULL, TRUE, LegoAnimationManager::e_unk0, NULL, FALSE, TRUE, TRUE, TRUE) ==
|
||||
SUCCESS) {
|
||||
state->m_unk0x4e = TRUE;
|
||||
state->m_playedExitScript = TRUE;
|
||||
camAnim = FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user