aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2007-05-14 00:00:36 +0000
committerTravis Howell2007-05-14 00:00:36 +0000
commit2e53712d31d6ec7d7b99536b29eb8dd138cd3831 (patch)
tree6113267b755ce3666bcddabfe64cef7d3b773f8d /engines
parent2a45bcdaaba672167556f81316c1f69b33f9a226 (diff)
downloadscummvm-rg350-2e53712d31d6ec7d7b99536b29eb8dd138cd3831.tar.gz
scummvm-rg350-2e53712d31d6ec7d7b99536b29eb8dd138cd3831.tar.bz2
scummvm-rg350-2e53712d31d6ec7d7b99536b29eb8dd138cd3831.zip
Correct error in drawImages(), where _window3Flag should have been used.
svn-id: r26839
Diffstat (limited to 'engines')
-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;