aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorathrxx2011-11-24 21:59:31 +0100
committerathrxx2011-11-24 22:00:09 +0100
commitfe21e5b0a918a7c6dfa144a4bb25ed2f80d625eb (patch)
treecb15641262a536c540f969e330811b3eaf8720a1 /engines/scumm
parentae5192c5d396b6ab3caf57adabeb03a832966dd3 (diff)
downloadscummvm-rg350-fe21e5b0a918a7c6dfa144a4bb25ed2f80d625eb.tar.gz
scummvm-rg350-fe21e5b0a918a7c6dfa144a4bb25ed2f80d625eb.tar.bz2
scummvm-rg350-fe21e5b0a918a7c6dfa144a4bb25ed2f80d625eb.zip
SCUMM: paranoia "fix" for ae5192c5d396b6ab3caf57adabeb03a832966dd3
(change sizeof check to use int16 instead of Common::Rect)
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp
index 572e46009c..38dbd8270a 100644
--- a/engines/scumm/saveload.cpp
+++ b/engines/scumm/saveload.cpp
@@ -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();
}