]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/mapvoting.qc
Map vote: capture and ignore right mouse click; it prevents zooming while holding...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / mapvoting.qc
index 0d2db8724640986bfa29c1a6d687a73cbd493dbf..d6ee23046cdcf74c1044ef24a376999691aa6e98 100644 (file)
@@ -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)