diff options
Diffstat (limited to 'engines/kyra/script.h')
| -rw-r--r-- | engines/kyra/script.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/script.h b/engines/kyra/script.h index c09e4eedf1..65631488af 100644 --- a/engines/kyra/script.h +++ b/engines/kyra/script.h @@ -85,7 +85,7 @@ public: // of file or producing a "Chunk overread" error message. To work around this // we need to adjust the size field properly. if (_typeId == MKID_BE('EMC2') || _typeId == MKID_BE('AVFS')) - _formChunk.size = input.size() - 8; + _formChunk.size -= 8; } }; |
