aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2012-10-28 22:38:19 +1100
committerPaul Gilbert2012-10-28 22:38:19 +1100
commitf1cace39e8fa7def5cc82c6e65ace366101bbf83 (patch)
treea02f545950893fb7474190cb07b1c3384f54a7e8
parenta0c26cde210479807f89e0678342e117e52edbd1 (diff)
downloadscummvm-rg350-f1cace39e8fa7def5cc82c6e65ace366101bbf83.tar.gz
scummvm-rg350-f1cace39e8fa7def5cc82c6e65ace366101bbf83.tar.bz2
scummvm-rg350-f1cace39e8fa7def5cc82c6e65ace366101bbf83.zip
HOPKINS: Fix to allow quitting when a conversation is active
-rw-r--r--engines/hopkins/talk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/talk.cpp b/engines/hopkins/talk.cpp
index 756effbfaf..6dcebecde2 100644
--- a/engines/hopkins/talk.cpp
+++ b/engines/hopkins/talk.cpp
@@ -367,7 +367,7 @@ int TalkManager::DIALOGUE() {
v6 = 1;
if (v5 == -1)
v6 = 0;
- } while (v6 != 1);
+ } while (!_vm->shouldQuit() && v6 != 1);
_vm->_soundManager.VOICE_MIX(v5, 1);
_vm->_fontManager.TEXTE_OFF(5);