diff options
author | Sven Hesse | 2009-06-22 10:14:18 +0000 |
---|---|---|
committer | Sven Hesse | 2009-06-22 10:14:18 +0000 |
commit | 7fbad08fd1cb85363628a71ffab5580c8612fe1c (patch) | |
tree | 81e9cbd80a5e89d0f8c90da9072aa4b4812568dc /engines/gob/game_v2.cpp | |
parent | 962fc19b57a13cb8de2c194f325e6c9b8b4fc1a0 (diff) | |
download | scummvm-rg350-7fbad08fd1cb85363628a71ffab5580c8612fe1c.tar.gz scummvm-rg350-7fbad08fd1cb85363628a71ffab5580c8612fe1c.tar.bz2 scummvm-rg350-7fbad08fd1cb85363628a71ffab5580c8612fe1c.zip |
Implemented a call stack
svn-id: r41754
Diffstat (limited to 'engines/gob/game_v2.cpp')
-rw-r--r-- | engines/gob/game_v2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/game_v2.cpp b/engines/gob/game_v2.cpp index 4ed9a49e8c..b9cda4832a 100644 --- a/engines/gob/game_v2.cpp +++ b/engines/gob/game_v2.cpp @@ -62,7 +62,7 @@ void Game_v2::playTot(int16 skipPlay) { oldBreakFrom = _vm->_inter->_breakFromLevel; oldCaptureCounter = _vm->_scenery->_pCaptureCounter; - uint32 startPos = _script->pos(); + _script->push(); _vm->_inter->_nestLevel = &nestLevel; _vm->_inter->_breakFromLevel = &breakFrom; @@ -293,7 +293,7 @@ void Game_v2::playTot(int16 skipPlay) { _vm->_inter->_breakFromLevel = oldBreakFrom; _vm->_scenery->_pCaptureCounter = oldCaptureCounter; - _script->seek(startPos); + _script->pop(); } void Game_v2::clearCollisions() { |