TONY: Endian fix
This commit is contained in:
parent
0450275c44
commit
6f6486e589
1 changed files with 1 additions and 1 deletions
|
@ -1923,7 +1923,7 @@ void RMGameBoxes::LoadState(byte *state) {
|
||||||
int nloc, nbox;
|
int nloc, nbox;
|
||||||
|
|
||||||
// Load number of items
|
// Load number of items
|
||||||
nloc = *(int*)state;
|
nloc = READ_LE_UINT32(state);
|
||||||
state += 4;
|
state += 4;
|
||||||
|
|
||||||
assert(nloc <= m_nLocBoxes);
|
assert(nloc <= m_nLocBoxes);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue