From 5cfa1899bdea96a2e1dc505b4cfdbbe96ae13c02 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Tue, 27 Dec 2011 03:08:43 +0000 Subject: DREAMWEB: Move kQuitRequested out of data blob. --- engines/dreamweb/newplace.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/dreamweb/newplace.cpp') 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; } -- cgit v1.2.3