diff options
Diffstat (limited to 'engines/gob/game_v2.cpp')
-rw-r--r-- | engines/gob/game_v2.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/gob/game_v2.cpp b/engines/gob/game_v2.cpp index ec0ef0a27b..b81819f3f2 100644 --- a/engines/gob/game_v2.cpp +++ b/engines/gob/game_v2.cpp @@ -115,6 +115,7 @@ void Game_v2::playTot(int16 skipPlay) { loadTotFile(_curTotFile); if (_totFileData == 0) { _vm->_draw->blitCursor(); + _vm->_inter->_terminate = 2; break; } @@ -258,6 +259,13 @@ void Game_v2::playTot(int16 skipPlay) { strcpy(_curTotFile, _totToLoad); } + } else { + _vm->_scenery->_pCaptureCounter = oldCaptureCounter; + _vm->_global->_inter_execPtr = (char *)_totFileData; + _vm->_global->_inter_execPtr += READ_LE_UINT16(_totFileData + (skipPlay << 1) + 0x66); + _vm->_inter->callSub(2); + if (_vm->_inter->_terminate != 0) + _vm->_inter->_terminate = 2; } strcpy(_curTotFile, savedTotName); |