diff options
author | Travis Howell | 2007-05-15 07:14:12 +0000 |
---|---|---|
committer | Travis Howell | 2007-05-15 07:14:12 +0000 |
commit | ee0cb9ee2df14520a40b7b44c188c63446e3efa9 (patch) | |
tree | c214ba8dd8c1171f0a038301f3995c50ed158678 | |
parent | 2371b4ec033883c25234231f36798f7af5bc9bed (diff) | |
download | scummvm-rg350-ee0cb9ee2df14520a40b7b44c188c63446e3efa9.tar.gz scummvm-rg350-ee0cb9ee2df14520a40b7b44c188c63446e3efa9.tar.bz2 scummvm-rg350-ee0cb9ee2df14520a40b7b44c188c63446e3efa9.zip |
Ooops, the y offset in drawBackGround() should be based on state width too.
svn-id: r26843
-rw-r--r-- | engines/agos/gfx.cpp | 2 |
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; |