aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/gfx.cpp')
-rw-r--r--engines/agos/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/gfx.cpp b/engines/agos/gfx.cpp
index a8bff9a451..5a952b19a4 100644
--- a/engines/agos/gfx.cpp
+++ b/engines/agos/gfx.cpp
@@ -648,7 +648,7 @@ void AGOSEngine_Simon1::drawImage(VC10_state *state) {
_window4Flag = 1;
} else if (getGameType() == GType_SIMON1) {
if (_windowNum == 3 || _windowNum == 4 || _windowNum >= 10) {
- if (_windowNum == 3) {
+ if (_window3Flag == 1) {
state->surf2_addr = getBackGround();
state->surf2_pitch = _screenWidth;