aboutsummaryrefslogtreecommitdiff
path: root/engines/draci
diff options
context:
space:
mode:
authorDenis Kasak2009-08-12 04:22:47 +0000
committerDenis Kasak2009-08-12 04:22:47 +0000
commit303085c66b7288c9bdb375a7091de611dd1c187d (patch)
treeb3eaed522198cc171e40f2070f301966ffee1ae8 /engines/draci
parent6693b22851dc7030922360e4275b73e2f9804cf0 (diff)
downloadscummvm-rg350-303085c66b7288c9bdb375a7091de611dd1c187d.tar.gz
scummvm-rg350-303085c66b7288c9bdb375a7091de611dd1c187d.tar.bz2
scummvm-rg350-303085c66b7288c9bdb375a7091de611dd1c187d.zip
Whenever we enter the top-level loop, disable exiting by default (fixes the high-five scene between Bert and Eveline which ended too fast).
svn-id: r43306
Diffstat (limited to 'engines/draci')
-rw-r--r--engines/draci/game.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp
index 7c55489677..6051e0d651 100644
--- a/engines/draci/game.cpp
+++ b/engines/draci/game.cpp
@@ -160,6 +160,10 @@ Game::Game(DraciEngine *vm) : _vm(vm) {
void Game::start() {
while (!shouldQuit()) {
+ // Whenever the top-level loop is entered, it should not finish unless
+ // the exit is triggered by a script
+ _shouldExitLoop = false;
+
// If the scheduled room differs from the current one, do a room change
if (_newRoom != _currentRoom._roomNum) {