Skip to content

Commit

Permalink
SCUMM: paranoia "fix" for ae5192c
Browse files Browse the repository at this point in the history
(change sizeof check to use int16 instead of Common::Rect)
  • Loading branch information
athrxx committed Nov 24, 2011
1 parent ae5192c commit fe21e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/scumm/saveload.cpp
Expand Up @@ -1305,7 +1305,7 @@ void ScummEngine::saveOrLoad(Serializer *s) {

if (hasTownsData) {
// Skip FM-Towns specific data
for (int i = 69 * sizeof(uint8) + 11 * sizeof(Common::Rect); i; i--)
for (int i = 69 * sizeof(uint8) + 44 * sizeof(int16); i; i--)
s->loadByte();
}

Expand Down

0 comments on commit fe21e5b

Please sign in to comment.