This commit is contained in:
Christian Semmler 2024-05-04 09:58:32 -04:00
parent f118ea9bc2
commit 2d1b01ef3c

View File

@ -77,14 +77,12 @@ void Helicopter::VTable0xe4()
if (GameState()->GetCurrentAct() == LegoGameState::e_act1) { if (GameState()->GetCurrentAct() == LegoGameState::e_act1) {
GameState()->SetCurrentArea(LegoGameState::e_copter); GameState()->SetCurrentArea(LegoGameState::e_copter);
if (CurrentActor()) { if (CurrentActor() && CurrentActor()->IsA("IslePathActor")) {
if (CurrentActor()->IsA("IslePathActor")) { CurrentActor()->SpawnPlayer(
CurrentActor()->SpawnPlayer( LegoGameState::e_unk55,
LegoGameState::e_unk55, TRUE,
TRUE, IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3
IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3 );
);
}
} }
} }