From 7600751525441a1f68ebe89ec5d3756b55a17c3f Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 13 Nov 2011 20:54:13 +0100 Subject: DRASCULA: Allow faster quit when in the mid of a conversation. This allows quitting ScummVM in only a minimal time when a converstion is running instead of waiting for it to finish. It is still not instant but much better. --- engines/drascula/converse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/drascula/converse.cpp') diff --git a/engines/drascula/converse.cpp b/engines/drascula/converse.cpp index 6f028e6e12..7abbb3214b 100644 --- a/engines/drascula/converse.cpp +++ b/engines/drascula/converse.cpp @@ -197,7 +197,7 @@ void DrasculaEngine::converse(int index) { // from 1(top) to 31 color_abc(kColorLightGreen); - while (breakOut == 0) { + while (breakOut == 0 && !shouldQuit()) { updateRoom(); if (musicStatus() == 0 && roomMusic != 0) { -- cgit v1.2.3