Define LegoEntity::Type enum (#854)

* Define LegoEntity::Type enum

* Use enum constant
This commit is contained in:
Christian Semmler
2024-04-26 10:03:13 -04:00
committed by GitHub
parent a9d67e4dd7
commit 180a1e6360
7 changed files with 37 additions and 27 deletions

View File

@@ -127,7 +127,7 @@ void LegoActor::SetROI(LegoROI* p_roi, MxBool p_bool1, MxBool p_bool2)
for (MxU32 i = 1; i <= _countof(g_actorNames) - 1; i++) {
if (!strcmpi(name, g_actorNames[i])) {
m_unk0x59 = 0;
m_type = e_character;
m_actorId = i;
break;
}