mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 08:41:16 +00:00
Use enum constant
This commit is contained in:
parent
93fb98ed6c
commit
a5423b602d
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user