r4857 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Oct 24 03:57:55 EDT 2008


Author: div0
Date: 2008-10-24 03:57:55 -0400 (Fri, 24 Oct 2008)
New Revision: 4857

Modified:
   trunk/data/qcsrc/server/w_porto.qc
Log:
create portals below creatures, not walkers


Modified: trunk/data/qcsrc/server/w_porto.qc
===================================================================
--- trunk/data/qcsrc/server/w_porto.qc	2008-10-24 07:54:17 UTC (rev 4856)
+++ trunk/data/qcsrc/server/w_porto.qc	2008-10-24 07:57:55 UTC (rev 4857)
@@ -76,7 +76,7 @@
 		return; // handled by the portal
 
 	norm = trace_plane_normal;
-	if(trace_ent.movetype == MOVETYPE_WALK)
+	if(trace_ent.iscreature)
 	{
 		traceline(trace_ent.origin, trace_ent.origin + '0 0 2' * PL_MIN_z, MOVE_NORMAL, self);
 		if(trace_fraction >= 1)




More information about the nexuiz-commits mailing list