]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix min4->min
authorJakob MG <jakob_mg@hotmail.com>
Tue, 29 Nov 2011 14:21:07 +0000 (15:21 +0100)
committerJakob MG <jakob_mg@hotmail.com>
Tue, 29 Nov 2011 14:21:07 +0000 (15:21 +0100)
qcsrc/client/tturrets.qc

index e81a1c398bbd84211ce3e0066c1b18932a809cba..f4a53ca199563b18495dce544fce2af04a7537df 100644 (file)
@@ -322,7 +322,7 @@ void turret_draw2d()
        o_z = 0;
 
        float edgedistance_min, crosshairdistance;
-               edgedistance_min = min4((o_y - (vid_conheight * waypointsprite_edgeoffset_top)), 
+               edgedistance_min = min((o_y - (vid_conheight * waypointsprite_edgeoffset_top)), 
        (o_x - (vid_conwidth * waypointsprite_edgeoffset_left)),
        (vid_conwidth - (vid_conwidth * waypointsprite_edgeoffset_right)) - o_x, 
        (vid_conheight - (vid_conheight * waypointsprite_edgeoffset_bottom)) - o_y);