aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/game.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/gob/game.cpp b/engines/gob/game.cpp
index 29319996b5..4bea9ce6b0 100644
--- a/engines/gob/game.cpp
+++ b/engines/gob/game.cpp
@@ -365,7 +365,12 @@ void Game::playTot(int16 skipPlay) {
} else {
_vm->_inter->initControlVars(0);
_vm->_scenery->_pCaptureCounter = oldCaptureCounter;
- _script->seek(_script->getFunctionOffset(skipPlay + 1));
+
+ if (skipPlay > 13) {
+ warning("Addy: skipPlay = %d", skipPlay);
+ _script->skip(skipPlay);
+ } else
+ _script->seek(_script->getFunctionOffset(skipPlay + 1));
_vm->_inter->callSub(2);