aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2005-03-31 14:36:42 +0000
committerEugene Sandulenko2005-03-31 14:36:42 +0000
commit0fa38d12e1f0f7e27a34a7f8c6d679894f141f6f (patch)
tree8ba2a39052090380176bb9dfb6db178ef4d79bb6
parentfc59dcae3e81e0f2620ec5e225aa775904403540 (diff)
downloadscummvm-rg350-0fa38d12e1f0f7e27a34a7f8c6d679894f141f6f.tar.gz
scummvm-rg350-0fa38d12e1f0f7e27a34a7f8c6d679894f141f6f.tar.bz2
scummvm-rg350-0fa38d12e1f0f7e27a34a7f8c6d679894f141f6f.zip
Fix bug #1173422 "Slight mouse cursor regression"
svn-id: r17309
-rw-r--r--backends/sdl/graphics.cpp2
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());