diff options
author | Sven Hesse | 2011-01-26 19:02:39 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-26 19:02:39 +0000 |
commit | 2c2476b203c10699973950f08f6d8a4b3866408e (patch) | |
tree | 7fdf8aa0944b6b5ece25bd00fe83704d232212d6 | |
parent | 1686ecdf8395a511e93c9a69ef179403e3d17cf2 (diff) | |
download | scummvm-rg350-2c2476b203c10699973950f08f6d8a4b3866408e.tar.gz scummvm-rg350-2c2476b203c10699973950f08f6d8a4b3866408e.tar.bz2 scummvm-rg350-2c2476b203c10699973950f08f6d8a4b3866408e.zip |
GOB: Add a small playTot change for Addy
svn-id: r55546
-rw-r--r-- | engines/gob/game.cpp | 7 |
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); |