diff options
| author | Florian Kagerer | 2009-05-17 14:22:05 +0000 |
|---|---|---|
| committer | Florian Kagerer | 2009-05-17 14:22:05 +0000 |
| commit | 2953f5b93535f4c2b38517ba5d5469969e68beb7 (patch) | |
| tree | 286d31a45001271cebe3e01d4bdae61a9be50fd6 | |
| parent | 7c5fbf83f5c72d797aaf490366252314173d4036 (diff) | |
| download | scummvm-rg350-2953f5b93535f4c2b38517ba5d5469969e68beb7.tar.gz scummvm-rg350-2953f5b93535f4c2b38517ba5d5469969e68beb7.tar.bz2 scummvm-rg350-2953f5b93535f4c2b38517ba5d5469969e68beb7.zip | |
KYRA1: fix script code (Japanese version of lephole.emc was broken by recent changes in the parser)
svn-id: r40651
| -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; } }; |
