From 98818daee8acebd5db543ba1dd7fb4e88a1e96be Mon Sep 17 00:00:00 2001 From: xtreme8000 Date: Thu, 24 Jan 2019 17:20:01 +0100 Subject: [PATCH] Close #74 --- src/hud.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hud.c b/src/hud.c index 5139c5e..0b60c99 100644 --- a/src/hud.c +++ b/src/hud.c @@ -890,7 +890,9 @@ static void hud_ingame_scroll(double yoffset) { static double last_x, last_y; static void hud_ingame_mouselocation(double x, double y) { - if(show_exit) { + if(show_exit) { + last_x = x; + last_y = y; return; } int dx = x-last_x;