From 887d34ae59ff9bab3ff73fb6b7a9d60dd0ec5a96 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 25 Jun 2018 16:24:20 +1000 Subject: [PATCH] Update previous mouse position when checking for movements in the mapvote screen --- qcsrc/client/mapvoting.qc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qcsrc/client/mapvoting.qc b/qcsrc/client/mapvoting.qc index cc5fe07b9..8d4d8ba9f 100644 --- a/qcsrc/client/mapvoting.qc +++ b/qcsrc/client/mapvoting.qc @@ -340,9 +340,11 @@ void MapVote_Draw() if (!autocvar_hud_cursormode) { - vector mpos = mousepos; - if (mpos.x != prev_mousepos.x || mpos.y != prev_mousepos.y) + if (mousepos.x != prev_mousepos.x || mousepos.y != prev_mousepos.y) + { mv_selection_keyboard = 0; + prev_mousepos = mousepos; + } } center = (vid_conwidth - 1)/2; -- 2.39.2