fix for bug #765402: no shaking with 1x scaler

svn-id: r8724
This commit is contained in:
Max Horn 2003-07-03 19:12:24 +00:00
parent 2ea85c6d4e
commit 6b7e12faed
2 changed files with 2 additions and 0 deletions

View file

@ -265,6 +265,7 @@ void OSystem_SDL::update_screen() {
dst.x--;
dst.y--;
}
dst.y += _currentShakePos;
if (SDL_BlitSurface(target, r, _hwscreen, &dst) != 0)
error("SDL_BlitSurface failed: %s", SDL_GetError());
}