r3248 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jan 23 15:39:30 EST 2008


Author: div0
Date: 2008-01-23 15:39:29 -0500 (Wed, 23 Jan 2008)
New Revision: 3248

Modified:
   trunk/data/qcsrc/server/cl_weaponsystem.qc
Log:
fix the fix for the fix


Modified: trunk/data/qcsrc/server/cl_weaponsystem.qc
===================================================================
--- trunk/data/qcsrc/server/cl_weaponsystem.qc	2008-01-23 20:36:34 UTC (rev 3247)
+++ trunk/data/qcsrc/server/cl_weaponsystem.qc	2008-01-23 20:39:29 UTC (rev 3248)
@@ -35,7 +35,7 @@
 	else
 		w_shotorg = ent.origin + ent.view_ofs + v_right * vecs_y + v_up * vecs_z;
 	// now move the shotorg forward as much as requested if possible
-	traceline_hitcorpse(w_shotorg, w_shotorg + v_forward * vecs_x, MOVE_NORMAL, self);
+	traceline_hitcorpse(self, w_shotorg, w_shotorg + v_forward * vecs_x, MOVE_NORMAL, self);
 	w_shotorg = trace_endpos;
 	// calculate the shotdir from the chosen shotorg
 	w_shotdir = normalize(trueaimpoint - w_shotorg);




More information about the nexuiz-commits mailing list