aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-17 15:59:04 +0000
committerJohannes Schickel2009-05-17 15:59:04 +0000
commit1b74d8557a220581d5ce7a609b1c88fcde4d04a2 (patch)
tree25f5c2df00b0ba7420b9e47b9ec94d663eb21867
parent70a7fab1e69932b55b5290b19c48de4756e34d5a (diff)
downloadscummvm-rg350-1b74d8557a220581d5ce7a609b1c88fcde4d04a2.tar.gz
scummvm-rg350-1b74d8557a220581d5ce7a609b1c88fcde4d04a2.tar.bz2
scummvm-rg350-1b74d8557a220581d5ce7a609b1c88fcde4d04a2.zip
Change workaround to match comment description.
svn-id: r40656
-rw-r--r--engines/kyra/script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/script.h b/engines/kyra/script.h
index 187dc5fdec..65b3f477f3 100644
--- a/engines/kyra/script.h
+++ b/engines/kyra/script.h
@@ -87,7 +87,7 @@ public:
if (_typeId == MKID_BE('EMC2'))
_formChunk.size -= 8;
else if (_typeId == MKID_BE('AVFS'))
- _formChunk.size = input.size() - 8;
+ _formChunk.size += 4;
}
};