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 4b6d146..3c3eaf5 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
                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),
                                WarpZone_PlaneDist(e, c0),
                                WarpZone_PlaneDist(e, c1),
                                WarpZone_PlaneDist(e, c2),