aboutsummaryrefslogtreecommitdiff
path: root/engines/draci
diff options
context:
space:
mode:
authorDenis Kasak2009-08-14 13:17:53 +0000
committerDenis Kasak2009-08-14 13:17:53 +0000
commit87e64d27f7f1ef3d1f5a635198f006ff89df1f26 (patch)
tree3f954ab05f3f403cdc160fc3c218b8c356afc181 /engines/draci
parent3022c623d6eebdb7827f8f60b3e05dfd3bf677be (diff)
downloadscummvm-rg350-87e64d27f7f1ef3d1f5a635198f006ff89df1f26.tar.gz
scummvm-rg350-87e64d27f7f1ef3d1f5a635198f006ff89df1f26.tar.bz2
scummvm-rg350-87e64d27f7f1ef3d1f5a635198f006ff89df1f26.zip
Fixed bug which made the dragon's spoken line in a dialogue end too quickly.
svn-id: r43365
Diffstat (limited to 'engines/draci')
-rw-r--r--engines/draci/script.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/draci/script.cpp b/engines/draci/script.cpp
index 26d0a666ba..5e0354dffe 100644
--- a/engines/draci/script.cpp
+++ b/engines/draci/script.cpp
@@ -658,6 +658,10 @@ void Script::talk(Common::Queue<int> &params) {
speechFrame->setX(x);
speechFrame->setY(y);
+ // Prevent the loop from exiting early if other things left the loop in the
+ // "exit immediately" state
+ _vm->_game->setExitLoop(false);
+
// Call the game loop to enable interactivity until the text expires
_vm->_game->loop();