Ooops, the y offset in drawBackGround() should be based on state width too.

svn-id: r26843
This commit is contained in:
Travis Howell 2007-05-15 07:14:12 +00:00
parent 2371b4ec03
commit ee0cb9ee2d

View File

@ -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;