]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/crosshairbutton.qc
Replace `vector_[xyz]` with `vector.[xyz]` where possible
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / crosshairbutton.qc
index 7fe3a600f2e57d49338a1f7b3ac358fa9f09590e..3b562cb776e4c3f8f2815c7046ccb1830f7d2d3b 100644 (file)
@@ -111,9 +111,9 @@ void XonoticCrosshairButton_draw(entity me)
        }
        else // show the crosshair picker at full size
        {
-               sz = sz * (0.95 / sz_x);
-               if(sz_y > 0.95)
-                       sz = sz * (0.95 / sz_y);
+               sz = sz * (0.95 / sz.x);
+               if(sz.y > 0.95)
+                       sz = sz * (0.95 / sz.y);
        }
 
        draw_Picture('0.5 0.5 0' - 0.5 * sz, me.src3, sz, rgb, a);