aboutsummaryrefslogtreecommitdiff
path: root/sdl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sdl.cpp')
-rw-r--r--sdl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdl.cpp b/sdl.cpp
index 29a386580c..fb23be9fec 100644
--- a/sdl.cpp
+++ b/sdl.cpp
@@ -938,8 +938,8 @@ void OSystem_SDL::draw_mouse() {
if (SDL_LockSurface(sdl_screen) == -1)
error("SDL_LockSurface failed: %s.\n", SDL_GetError());
- const int ydraw = _ms_cur.y + _current_shake_pos - _ms_hotspot_x;
- const int xdraw = _ms_cur.x - _ms_hotspot_y;
+ const int ydraw = _ms_cur.y + _current_shake_pos - _ms_hotspot_y;
+ const int xdraw = _ms_cur.x - _ms_hotspot_x;
const int w = _ms_cur.w;
const int h = _ms_cur.h;
int x,y;