mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
fix loop
This commit is contained in:
parent
5a636313a1
commit
19fa761360
@ -153,7 +153,7 @@ void MxControlPresenter::ParseExtra()
|
|||||||
MxS16 count = atoi(str);
|
MxS16 count = atoi(str);
|
||||||
m_unk0x58 = new MxS16[count + 1];
|
m_unk0x58 = new MxS16[count + 1];
|
||||||
*m_unk0x58 = count;
|
*m_unk0x58 = count;
|
||||||
for (MxU16 i = 1; i <= count; i++) {
|
for (MxS16 i = 1; i <= count; i++) {
|
||||||
m_unk0x58[i] = atoi(strtok(NULL, g_parseExtraTokens));
|
m_unk0x58[i] = atoi(strtok(NULL, g_parseExtraTokens));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user