From 74177c073af6b2a55a66c44f6afc74c48b128636 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 27 Dec 2020 17:20:08 +0100 Subject: [PATCH] Map vote: capture and ignore right mouse click; it prevents zooming while holding the vortex --- qcsrc/client/mapvoting.qc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcsrc/client/mapvoting.qc b/qcsrc/client/mapvoting.qc index 0d2db8724..d6ee23046 100644 --- a/qcsrc/client/mapvoting.qc +++ b/qcsrc/client/mapvoting.qc @@ -899,6 +899,9 @@ float MapVote_InputEvent(int bInputType, float nPrimary, float nSecondary) imp = min(mv_selection + 1, mv_num_maps); } + if (nPrimary == K_MOUSE2) + return true; // do nothing + if (imp) { if (!key_pressed) -- 2.39.2