From 5452e5983eb101c9eb38818b7df4369cc40c953a Mon Sep 17 00:00:00 2001 From: terencehill Date: Wed, 27 May 2020 23:33:25 +0200 Subject: [PATCH] Fix #2448 "HUD editor cursor stuck after exit" --- qcsrc/client/view.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index 57cd15a78b..baf749ff47 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -1635,6 +1635,7 @@ void ViewLocation_Mouse() viewloc_mousepos.y = bound(0, viewloc_mousepos.y, vid_conheight); //float cursor_alpha = 1 - autocvar__menu_alpha; + //cursor_type = CURSOR_NORMAL; //draw_cursor(viewloc_mousepos, '0.5 0.5 0', "/cursor_move", '1 1 1', cursor_alpha); } @@ -1675,6 +1676,7 @@ void HUD_Mouse(entity player) if(!autocvar_hud_cursormode) update_mousepos(); + cursor_type = CURSOR_NORMAL; if(autocvar__hud_configure) HUD_Panel_Mouse(); else -- 2.39.2