mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +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
@@ -211,7 +211,7 @@ done:
|
||||
LegoExtraActor* actor = new LegoExtraActor();
|
||||
|
||||
actor->SetROI(character->m_roi, FALSE, FALSE);
|
||||
actor->FUN_100114e0(0);
|
||||
actor->SetType(LegoEntity::e_character);
|
||||
actor->SetFlag(LegoActor::c_bit2);
|
||||
GetData(p_key)->m_actor = actor;
|
||||
}
|
||||
@@ -783,7 +783,7 @@ LegoROI* LegoCharacterManager::FUN_10085210(const char* p_name, const char* p_lo
|
||||
LegoEntity* entity = new LegoEntity();
|
||||
|
||||
entity->SetROI(roi, FALSE, FALSE);
|
||||
entity->FUN_100114e0(4);
|
||||
entity->SetType(LegoEntity::e_unk4);
|
||||
entity->SetFlag(LegoActor::c_bit2);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user