From: terencehill Date: Sun, 27 Dec 2020 16:20:08 +0000 (+0100) Subject: Map vote: capture and ignore right mouse click; it prevents zooming while holding... X-Git-Tag: xonotic-v0.8.5~597^2~12 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=74177c073af6b2a55a66c44f6afc74c48b128636;p=xonotic%2Fxonotic-data.pk3dir.git Map vote: capture and ignore right mouse click; it prevents zooming while holding the vortex --- 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)