mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Add enum for actor IDs (#993)
This commit is contained in:

committed by
GitHub

parent
6e7e9a3f20
commit
6a9f68872b
@@ -544,7 +544,7 @@ void Isle::Enable(MxBool p_enable)
|
||||
VideoManager()->ResetPalette(FALSE);
|
||||
m_act1state->FUN_10034d00();
|
||||
|
||||
if (CurrentActor() != NULL && CurrentActor()->GetActorId() != 0) {
|
||||
if (CurrentActor() != NULL && CurrentActor()->GetActorId() != LegoActor::c_none) {
|
||||
// TODO: Match, most likely an inline function
|
||||
MxS32 targetEntityId = (CurrentActor()->GetActorId() == 1) + 250;
|
||||
|
||||
|
Reference in New Issue
Block a user