aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2011-12-14 12:32:18 +0100
committerWillem Jan Palenstijn2011-12-14 12:33:08 +0100
commit5948b5a9e3b587fa257d7dea0ec32633060bbc38 (patch)
tree6b06d7a21b4145e7a8e6aa23b2a4c328b9fb1a8b
parentee5c9678c318ae844a1642445f1aefc3eaeaa320 (diff)
downloadscummvm-rg350-5948b5a9e3b587fa257d7dea0ec32633060bbc38.tar.gz
scummvm-rg350-5948b5a9e3b587fa257d7dea0ec32633060bbc38.tar.bz2
scummvm-rg350-5948b5a9e3b587fa257d7dea0ec32633060bbc38.zip
DREAMWEB: Allow quit from diary
-rw-r--r--engines/dreamweb/use.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/dreamweb/use.cpp b/engines/dreamweb/use.cpp
index a144f850b6..599cdf7334 100644
--- a/engines/dreamweb/use.cpp
+++ b/engines/dreamweb/use.cpp
@@ -1213,7 +1213,8 @@ void DreamGenContext::useDiary() {
dumpDiaryKeys();
dumpTextLine();
checkCoords(diaryList);
- } while (!data.byte(kGetback));
+ } while (!data.byte(kGetback) && !quitRequested());
+
getRidOfTemp();
getRidOfTempText();