mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-27 02:14:18 +00:00
Implement/match Act1State::RemoveActors (#1132)
* Implement/match Act1State::RemoveActors * Fix annotation
This commit is contained in:
committed by
GitHub
parent
040c97d92a
commit
d8412a4697
@@ -1,6 +1,7 @@
|
||||
#include "bumpbouy.h"
|
||||
|
||||
#include "isle.h"
|
||||
#include "isle_actions.h"
|
||||
#include "islepathactor.h"
|
||||
#include "legogamestate.h"
|
||||
#include "legovideomanager.h"
|
||||
@@ -44,7 +45,7 @@ MxLong BumpBouy::Notify(MxParam& p_param)
|
||||
assert(isleState);
|
||||
isleState->m_unk0x018 = 5;
|
||||
|
||||
Isle* isle = (Isle*) FindWorld(*g_isleScript, 0);
|
||||
Isle* isle = (Isle*) FindWorld(*g_isleScript, IsleScript::c__Isle);
|
||||
assert(isle);
|
||||
isle->SetDestLocation(LegoGameState::e_jetrace);
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ MxLong JukeBoxEntity::Notify(MxParam& p_param)
|
||||
((IslePathActor*) UserActor())->Exit();
|
||||
}
|
||||
|
||||
((Isle*) FindWorld(*g_isleScript, 0))->SetDestLocation(LegoGameState::e_jukeboxw);
|
||||
((Isle*) FindWorld(*g_isleScript, IsleScript::c__Isle))->SetDestLocation(LegoGameState::e_jukeboxw);
|
||||
TransitionManager()->StartTransition(MxTransitionManager::e_mosaic, 50, FALSE, FALSE);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user