From: Jakob MG Date: Tue, 29 Nov 2011 14:21:07 +0000 (+0100) Subject: fix min4->min X-Git-Tag: xonotic-v0.6.0~35^2~32 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0396c956370d03a0de773812fd48963fe028018e;p=xonotic%2Fxonotic-data.pk3dir.git fix min4->min --- diff --git a/qcsrc/client/tturrets.qc b/qcsrc/client/tturrets.qc index e81a1c398..f4a53ca19 100644 --- a/qcsrc/client/tturrets.qc +++ b/qcsrc/client/tturrets.qc @@ -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);