aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
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 83930f5b06..79999aa65b 100644
--- a/engines/agos/gfx.cpp
+++ b/engines/agos/gfx.cpp
@@ -729,7 +729,7 @@ void AGOSEngine::drawBackGroundImage(VC10_state *state) {
state->y_skip = 0;
}
- src = state->srcPtr + (_screenWidth * state->y_skip) + (state->x_skip * 8);
+ src = state->srcPtr + (state->width * state->y_skip) + (state->x_skip * 8);
dst = state->surf_addr;
state->draw_width *= 2;