mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement/match IslePathActor::SpawnPlayer (#884)
* Implement/match IslePathActor::SpawnPlayer * Fix * Fix * Add skip * Rename param
This commit is contained in:

committed by
GitHub

parent
1b1d2ecde6
commit
45f9f54f21
@@ -906,7 +906,11 @@ void LegoGameState::SwitchArea(Area p_area)
|
||||
AnimationManager()->Resume();
|
||||
}
|
||||
|
||||
CurrentActor()->VTable0xe8(p_area, TRUE, 7);
|
||||
CurrentActor()->SpawnPlayer(
|
||||
p_area,
|
||||
TRUE,
|
||||
IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3
|
||||
);
|
||||
break;
|
||||
}
|
||||
case e_hospital:
|
||||
@@ -918,7 +922,11 @@ void LegoGameState::SwitchArea(Area p_area)
|
||||
SetCameraControllerFromIsle();
|
||||
CurrentActor()->ResetWorldTransform(TRUE);
|
||||
AnimationManager()->Resume();
|
||||
CurrentActor()->VTable0xe8(p_area, TRUE, 7);
|
||||
CurrentActor()->SpawnPlayer(
|
||||
p_area,
|
||||
TRUE,
|
||||
IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3
|
||||
);
|
||||
break;
|
||||
case e_police:
|
||||
VideoManager()->SetUnk0x554(TRUE);
|
||||
|
Reference in New Issue
Block a user