aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/monitor.cpp
diff options
context:
space:
mode:
authorD G Turner2011-12-27 03:08:43 +0000
committerD G Turner2011-12-27 03:08:43 +0000
commit5cfa1899bdea96a2e1dc505b4cfdbbe96ae13c02 (patch)
tree99ff065b0ffafd9260811cd3762e63222b5ac975 /engines/dreamweb/monitor.cpp
parent551177908510bad6257bec76859bc5d4de8bc932 (diff)
downloadscummvm-rg350-5cfa1899bdea96a2e1dc505b4cfdbbe96ae13c02.tar.gz
scummvm-rg350-5cfa1899bdea96a2e1dc505b4cfdbbe96ae13c02.tar.bz2
scummvm-rg350-5cfa1899bdea96a2e1dc505b4cfdbbe96ae13c02.zip
DREAMWEB: Move kQuitRequested out of data blob.
Diffstat (limited to 'engines/dreamweb/monitor.cpp')
-rw-r--r--engines/dreamweb/monitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dreamweb/monitor.cpp b/engines/dreamweb/monitor.cpp
index eb6d876ca4..69a46d725f 100644
--- a/engines/dreamweb/monitor.cpp
+++ b/engines/dreamweb/monitor.cpp
@@ -86,7 +86,7 @@ void DreamBase::useMon() {
data.word(kMonadx) = oldMonadx;
data.word(kMonady) = oldMonady;
stop = execCommand();
- if (quitRequested()) //TODO : Check why it crashes when put before the execcommand
+ if (_quitRequested) //TODO : Check why it crashes when put before the execcommand
break;
} while (!stop);
getRidOfTemp();
@@ -203,7 +203,7 @@ void DreamBase::input() {
vSync();
delCurs();
readKey();
- if (quitRequested())
+ if (_quitRequested)
return;
uint8 currentKey = data.byte(kCurrentkey);
if (currentKey == 0)