aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/game_v2.cpp
diff options
context:
space:
mode:
authorSven Hesse2009-06-22 16:29:31 +0000
committerSven Hesse2009-06-22 16:29:31 +0000
commit565a9f5b0d4528b09531e1c381f81587546a0580 (patch)
tree5003a21c18038c00ee3b706920864e21e43d10fd /engines/gob/game_v2.cpp
parent49c46a46f7a6aa8a34b14c9dd0097a8e41496732 (diff)
downloadscummvm-rg350-565a9f5b0d4528b09531e1c381f81587546a0580.tar.gz
scummvm-rg350-565a9f5b0d4528b09531e1c381f81587546a0580.tar.bz2
scummvm-rg350-565a9f5b0d4528b09531e1c381f81587546a0580.zip
Don't assert on pop when no script is loaded
svn-id: r41770
Diffstat (limited to 'engines/gob/game_v2.cpp')
-rw-r--r--engines/gob/game_v2.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/gob/game_v2.cpp b/engines/gob/game_v2.cpp
index e170a1c9d0..ace842f18e 100644
--- a/engines/gob/game_v2.cpp
+++ b/engines/gob/game_v2.cpp
@@ -293,8 +293,7 @@ void Game_v2::playTot(int16 skipPlay) {
_vm->_inter->_breakFromLevel = oldBreakFrom;
_vm->_scenery->_pCaptureCounter = oldCaptureCounter;
- if (_script->isLoaded())
- _script->pop();
+ _script->pop();
}
void Game_v2::clearCollisions() {