mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Define LegoEntity::Type enum (#854)
* Define LegoEntity::Type enum * Use enum constant
This commit is contained in:

committed by
GitHub

parent
a9d67e4dd7
commit
180a1e6360
@@ -502,7 +502,7 @@ MxResult LegoAnimationManager::StartEntityAction(MxDSAction& p_dsAction, LegoEnt
|
||||
MxResult result = FAILURE;
|
||||
LegoROI* roi = p_entity->GetROI();
|
||||
|
||||
if (p_entity->GetUnknown0x59() == 0) {
|
||||
if (p_entity->GetType() == LegoEntity::e_character) {
|
||||
LegoPathActor* actor = CharacterManager()->GetActor(roi->GetName());
|
||||
|
||||
if (actor) {
|
||||
|
Reference in New Issue
Block a user