From 26d3e6583da6396f816014eb9a30d36ad26dd4aa Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 28 Aug 2016 23:46:15 +0200 Subject: [PATCH] Fix mouse handling of quickmenu and radar --- qcsrc/client/hud/panel/quickmenu.qc | 1 + qcsrc/client/hud/panel/radar.qc | 1 + 2 files changed, 2 insertions(+) diff --git a/qcsrc/client/hud/panel/quickmenu.qc b/qcsrc/client/hud/panel/quickmenu.qc index 65997f46e..8616492d2 100644 --- a/qcsrc/client/hud/panel/quickmenu.qc +++ b/qcsrc/client/hud/panel/quickmenu.qc @@ -504,6 +504,7 @@ void QuickMenu_Mouse() mousepos.y = bound(0, mousepos.y, vid_conheight); } + panel = HUD_PANEL(QUICKMENU); HUD_Panel_LoadCvars(); if(panel_bg_padding) diff --git a/qcsrc/client/hud/panel/radar.qc b/qcsrc/client/hud/panel/radar.qc index 9f967aae0..2c71c8e63 100644 --- a/qcsrc/client/hud/panel/radar.qc +++ b/qcsrc/client/hud/panel/radar.qc @@ -145,6 +145,7 @@ void HUD_Radar_Mouse() mousepos_y = bound(0, mousepos_y, vid_conheight); } + panel = HUD_PANEL(RADAR); HUD_Panel_LoadCvars(); -- 2.39.2