From 2e53712d31d6ec7d7b99536b29eb8dd138cd3831 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 14 May 2007 00:00:36 +0000 Subject: Correct error in drawImages(), where _window3Flag should have been used. svn-id: r26839 --- engines/agos/gfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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; -- cgit v1.2.3