diff options
-rw-r--r-- | engines/draci/script.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/draci/script.cpp b/engines/draci/script.cpp index c676ef9d46..c63c9faea6 100644 --- a/engines/draci/script.cpp +++ b/engines/draci/script.cpp @@ -450,7 +450,8 @@ int Script::run(GPL2Program program, uint16 offset) { reader.pos(), _jump, reader.pos() + _jump); // Account for GPL jump that some commands set - reader.seek(reader.pos() + _jump); + if (_jump != 0) + reader.seek(_jump, SEEK_CUR); // Reset jump _jump = 0; |