]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix func_plat
authorRudolf Polzer <divverent@alientrap.org>
Wed, 11 Jan 2012 14:39:56 +0000 (15:39 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 11 Jan 2012 14:39:56 +0000 (15:39 +0100)
qcsrc/server/t_plats.qc

index 087a048c30c84177de7cb17e97a74e32b3158ede..6ca7aee30428ba864403a079e62c7154707e0041 100644 (file)
@@ -57,9 +57,9 @@ void plat_spawn_inside_trigger()
                tmax_y = tmin_y + 1;
        }
 
-       if(tmin_x > tmax_x)
-               if(tmin_y > tmax_y)
-                       if(tmin_z > tmax_z)
+       if(tmin_x < tmax_x)
+               if(tmin_y < tmax_y)
+                       if(tmin_z < tmax_z)
                        {
                                setsize (trigger, tmin, tmax);
                                return;