From: terencehill Date: Sun, 28 Aug 2016 21:46:15 +0000 (+0200) Subject: Fix mouse handling of quickmenu and radar X-Git-Tag: xonotic-v0.8.2~649 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=26d3e6583da6396f816014eb9a30d36ad26dd4aa;p=xonotic%2Fxonotic-data.pk3dir.git Fix mouse handling of quickmenu and radar --- 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();