Use enum constant

This commit is contained in:
Christian Semmler 2024-04-26 09:08:26 -04:00
parent 93fb98ed6c
commit a5423b602d

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_type = 0;
m_type = e_character;
m_actorId = i;
break;
}