aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/stubs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dreamweb/stubs.cpp')
-rw-r--r--engines/dreamweb/stubs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index d61146e9c8..8c4d7389ca 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -482,7 +482,7 @@ void DreamBase::dreamweb() {
clearPalette();
set16ColPalette();
readSetData();
- data.byte(kWongame) = 0;
+ _wonGame = false;
engine->loadSounds(0, "DREAMWEB.V99"); // basic sample
@@ -589,7 +589,7 @@ void DreamBase::dreamweb() {
if (_quitRequested)
goto done;
- if (data.byte(kWongame) != 0) {
+ if (_wonGame) {
// "endofgame"
clearBeforeLoad();
fadeScreenDowns();
@@ -712,7 +712,7 @@ void DreamBase::screenUpdate() {
zoom();
showPointer();
- if (data.byte(kWongame))
+ if (_wonGame)
return;
vSync();
mouseState |= readMouseState();