r4665 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Oct 8 09:15:43 EDT 2008


Author: div0
Date: 2008-10-08 09:15:43 -0400 (Wed, 08 Oct 2008)
New Revision: 4665

Modified:
   trunk/data/qcsrc/server/gamecommand.qc
Log:
use q3map2 not mapinfo bounds for short circuit


Modified: trunk/data/qcsrc/server/gamecommand.qc
===================================================================
--- trunk/data/qcsrc/server/gamecommand.qc	2008-10-08 11:27:59 UTC (rev 4664)
+++ trunk/data/qcsrc/server/gamecommand.qc	2008-10-08 13:15:43 UTC (rev 4665)
@@ -47,13 +47,13 @@
 	ma = '1 0 0' * w + '0 1 0' * h + dz;
 	o = '1 0 0' * x + '0 1 0' * y + '0 0 1' * zmin;
 
-	if(x < world.mins_x - w)
+	if(x < world.absmin_x - w)
 		return 0;
-	if(y < world.mins_y - h)
+	if(y < world.absmin_y - h)
 		return 0;
-	if(x > world.maxs_x)
+	if(x > world.absmax_x)
 		return 0;
-	if(y > world.maxs_y)
+	if(y > world.absmax_y)
 		return 0;
 	
 	r = 0;




More information about the nexuiz-commits mailing list