diff options
-rw-r--r-- | engines/tony/loc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tony/loc.cpp b/engines/tony/loc.cpp index 722116c47c..ef59b3f916 100644 --- a/engines/tony/loc.cpp +++ b/engines/tony/loc.cpp @@ -1923,7 +1923,7 @@ void RMGameBoxes::LoadState(byte *state) { int nloc, nbox; // Load number of items - nloc = *(int*)state; + nloc = READ_LE_UINT32(state); state += 4; assert(nloc <= m_nLocBoxes); |