r5066 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Nov 21 01:36:09 EST 2008


Author: div0
Date: 2008-11-21 01:36:09 -0500 (Fri, 21 Nov 2008)
New Revision: 5066

Modified:
   trunk/data/qcsrc/server/t_items.qc
Log:
stronger alignment


Modified: trunk/data/qcsrc/server/t_items.qc
===================================================================
--- trunk/data/qcsrc/server/t_items.qc	2008-11-20 22:08:32 UTC (rev 5065)
+++ trunk/data/qcsrc/server/t_items.qc	2008-11-21 06:36:09 UTC (rev 5066)
@@ -952,17 +952,17 @@
 {
 	if(self.spawnflags & 3 == 1) // ALIGN_ORIGIN
 	{
-		traceline(self.origin, self.origin - '0 0 1024', MOVE_NOMONSTERS, self);
+		traceline(self.origin, self.origin - '0 0 4096', MOVE_NOMONSTERS, self);
 		setorigin(self, trace_endpos);
 	}
 	else if(self.spawnflags & 3 == 2) // ALIGN_BOTTOM
 	{
-		tracebox(self.origin, self.mins, self.maxs, self.origin - '0 0 1024', MOVE_NOMONSTERS, self);
+		tracebox(self.origin, self.mins, self.maxs, self.origin - '0 0 4096', MOVE_NOMONSTERS, self);
 		setorigin(self, trace_endpos);
 	}
 	else if(self.spawnflags & 3 == 3) // ALIGN_ORIGIN | ALIGN_BOTTOM
 	{
-		traceline(self.origin, self.origin - '0 0 1024', MOVE_NOMONSTERS, self);
+		traceline(self.origin, self.origin - '0 0 4096', MOVE_NOMONSTERS, self);
 		setorigin(self, trace_endpos - '0 0 1' * self.mins_z);
 	}
 }




More information about the nexuiz-commits mailing list