aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/script.h')
-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;
}
};