]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
hide a warning
authorRudolf Polzer <divverent@alientrap.org>
Wed, 4 Aug 2010 06:32:40 +0000 (08:32 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 4 Aug 2010 06:32:40 +0000 (08:32 +0200)
qcsrc/warpzonelib/client.qc

index 4b6d146e1fa8c64c8d2667f12ef4f0cdf4613b74..3c3eaf5a3dacda1350719773fe293690f8f8e1c5 100644 (file)
@@ -122,7 +122,7 @@ vector WarpZone_FixNearClip(vector o, vector c0, vector c1, vector c2, vector c3
                if(WarpZone_PlaneDist(e, o) < 0)
                        return '0 0 0';
                        // can't really be, though, but if it is, this is not my warpzone, but a random different one in the same mins/maxs
-               pd = min(
+               pd = min4(
                                WarpZone_PlaneDist(e, c0),
                                WarpZone_PlaneDist(e, c1),
                                WarpZone_PlaneDist(e, c2),