Fixed bug which made the dragon's spoken line in a dialogue end too quickly.

svn-id: r43365
This commit is contained in:
Denis Kasak 2009-08-14 13:17:53 +00:00
parent 3022c623d6
commit 87e64d27f7

View file

@ -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();