summaryrefslogtreecommitdiff
path: root/src/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics.c')
-rw-r--r--src/graphics.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/graphics.c b/src/graphics.c
index 93bea81..3a8971e 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -3181,9 +3181,8 @@ void render_signs(pixel *vid_buf)
if (MSIGN==i)
{
bq = b;
- b = SDL_GetMouseState(&mx, &my);
- mx /= sdl_scale;
- my /= sdl_scale;
+ mouse_get_state(&mx, &my);
+ mouse_coords_window_to_sim(&mx, &my, mx, my);
signs[i].x = mx;
signs[i].y = my;
}