From f118ea9bc2ae55c2b5cc1ab9258d2278df3b8104 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sat, 4 May 2024 09:58:10 -0400 Subject: [PATCH] Fix --- LEGO1/lego/legoomni/src/actors/helicopter.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/LEGO1/lego/legoomni/src/actors/helicopter.cpp b/LEGO1/lego/legoomni/src/actors/helicopter.cpp index 1a181742..9cd5b57c 100644 --- a/LEGO1/lego/legoomni/src/actors/helicopter.cpp +++ b/LEGO1/lego/legoomni/src/actors/helicopter.cpp @@ -79,12 +79,11 @@ void Helicopter::VTable0xe4() GameState()->SetCurrentArea(LegoGameState::e_copter); if (CurrentActor()) { if (CurrentActor()->IsA("IslePathActor")) { - ((IslePathActor*) CurrentActor()) - ->SpawnPlayer( - LegoGameState::e_unk55, - TRUE, - IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3 - ); + CurrentActor()->SpawnPlayer( + LegoGameState::e_unk55, + TRUE, + IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3 + ); } } }