diff options
-rw-r--r-- | backends/sdl/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/sdl/graphics.cpp b/backends/sdl/graphics.cpp index f97e489e64..cc2929faf4 100644 --- a/backends/sdl/graphics.cpp +++ b/backends/sdl/graphics.cpp @@ -1448,7 +1448,7 @@ void OSystem_SDL::drawMouse() { _mouseBackup.h = dst.h; dst.x = dst.x * scale1 / scale2; - dst.y = dst.y * scale1 / scale2; + dst.y = (dst.y + _currentShakePos) * scale1 / scale2; if (SDL_BlitSurface(_mouseSurface, &src, _hwscreen, &dst) != 0) error("SDL_BlitSurface failed: %s", SDL_GetError()); |