[nexuiz-commits] r7808 - branches/nexuiz-2.0/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Sep 15 06:48:37 EDT 2009


Author: div0
Date: 2009-09-15 06:48:37 -0400 (Tue, 15 Sep 2009)
New Revision: 7808

Modified:
   branches/nexuiz-2.0/data/qcsrc/server/cl_weaponsystem.qc
Log:
more compile fioxes in rbanch


Modified: branches/nexuiz-2.0/data/qcsrc/server/cl_weaponsystem.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/cl_weaponsystem.qc	2009-09-15 10:19:51 UTC (rev 7807)
+++ branches/nexuiz-2.0/data/qcsrc/server/cl_weaponsystem.qc	2009-09-15 10:48:37 UTC (rev 7808)
@@ -142,7 +142,7 @@
 		traceline_antilag(world, ent.origin + ent.view_ofs, ent.origin + ent.view_ofs + v_forward * MAX_SHOT_DISTANCE, MOVE_NORMAL, ent, ANTILAG_LATENCY(ent));
 		// passing world, because we do NOT want it to touch dphitcontentsmask
 	else
-		traceline(ent.origin + ent.view_ofs, ent.origin + ent.view_ofs + s_forward * MAX_SHOT_DISTANCE, MOVE_NOMONSTERS, ent);
+		traceline(ent.origin + ent.view_ofs, ent.origin + ent.view_ofs + v_forward * MAX_SHOT_DISTANCE, MOVE_NOMONSTERS, ent);
 	ent.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_CORPSE;
 	trueaimpoint = trace_endpos;
 



More information about the nexuiz-commits mailing list