mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-28 19:04:06 +00:00
Add enum for actor IDs (#993)
This commit is contained in:
committed by
GitHub
parent
6e7e9a3f20
commit
6a9f68872b
@@ -114,7 +114,7 @@ MxLong InfocenterDoor::HandleControl(LegoControlManagerEvent& p_param)
|
||||
result = 1;
|
||||
break;
|
||||
case InfodoorScript::c_Door_Ctl:
|
||||
if (GameState()->GetActorId()) {
|
||||
if (GameState()->GetActorId() != LegoActor::c_none) {
|
||||
InfocenterState* state = (InfocenterState*) GameState()->GetState("InfocenterState");
|
||||
if (state->HasRegistered()) {
|
||||
m_destLocation = LegoGameState::e_unk4;
|
||||
|
||||
Reference in New Issue
Block a user