diff options
author | D G Turner | 2011-12-27 03:08:43 +0000 |
---|---|---|
committer | D G Turner | 2011-12-27 03:08:43 +0000 |
commit | 5cfa1899bdea96a2e1dc505b4cfdbbe96ae13c02 (patch) | |
tree | 99ff065b0ffafd9260811cd3762e63222b5ac975 /engines/dreamweb/newplace.cpp | |
parent | 551177908510bad6257bec76859bc5d4de8bc932 (diff) | |
download | scummvm-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/newplace.cpp')
-rw-r--r-- | engines/dreamweb/newplace.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dreamweb/newplace.cpp b/engines/dreamweb/newplace.cpp index efcffef82a..3c50eb7b12 100644 --- a/engines/dreamweb/newplace.cpp +++ b/engines/dreamweb/newplace.cpp @@ -59,7 +59,7 @@ void DreamBase::selectLocation() { data.byte(kNewlocation) = 255; while (data.byte(kNewlocation) == 255) { - if (quitRequested()) + if (_quitRequested) break; delPointer(); @@ -84,7 +84,7 @@ void DreamBase::selectLocation() { checkCoords(destList); } - if (quitRequested() || data.byte(kGetback) == 1 || data.byte(kNewlocation) == data.byte(kLocation)) { + if (_quitRequested || data.byte(kGetback) == 1 || data.byte(kNewlocation) == data.byte(kLocation)) { data.byte(kNewlocation) = data.byte(kReallocation); data.byte(kGetback) = 0; } |