aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/draci/script.cpp')
-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();