aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorTravis Howell2009-07-11 00:38:50 +0000
committerTravis Howell2009-07-11 00:38:50 +0000
commit8eee50103ce40287058966e201d65aade5f1f688 (patch)
treea5933b6d1a37fdf50a3041cd48d8716634517c4d /engines/agos
parent272e9487aaab6119fd643c3443fddbdfedb2f73e (diff)
downloadscummvm-rg350-8eee50103ce40287058966e201d65aade5f1f688.tar.gz
scummvm-rg350-8eee50103ce40287058966e201d65aade5f1f688.tar.bz2
scummvm-rg350-8eee50103ce40287058966e201d65aade5f1f688.zip
Fix recent regression in AGOSEngine_Simon1::drawImage().
svn-id: r42360
Diffstat (limited to 'engines/agos')
-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 1755391ac3..1b5a820260 100644
--- a/engines/agos/gfx.cpp
+++ b/engines/agos/gfx.cpp
@@ -667,7 +667,7 @@ void AGOSEngine_Simon1::drawImage(VC10_state *state) {
state->surf2_addr = getBackGround();
state->surf2_pitch = _backGroundBuf->pitch;
- state->surf_addr = (byte *)_window4BackScn;
+ state->surf_addr = (byte *)_window4BackScn->pixels;
state->surf_pitch = _videoWindows[18] * 16;
xoffs = ((vlut[0] - _videoWindows[16]) * 2 + state->x) * 8;