r2655 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue May 22 06:40:05 EDT 2007


Author: div0
Date: 2007-05-22 06:40:05 -0400 (Tue, 22 May 2007)
New Revision: 2655

Modified:
   trunk/data/qcsrc/server/w_shotgun.qc
Log:
move SG smoke so it appears at the right point after fixing projectile origins to be inside player box


Modified: trunk/data/qcsrc/server/w_shotgun.qc
===================================================================
--- trunk/data/qcsrc/server/w_shotgun.qc	2007-05-22 09:26:35 UTC (rev 2654)
+++ trunk/data/qcsrc/server/w_shotgun.qc	2007-05-22 10:40:05 UTC (rev 2655)
@@ -18,7 +18,7 @@
 	if (cvar("g_use_ammunition"))
 		self.ammo_shells = self.ammo_shells - cvar("g_balance_shotgun_primary_ammo");
 
-	W_Smoke(w_shotorg, v_forward, 12);
+	W_Smoke(w_shotorg + v_forward * 8, v_forward, 12);
 	//te_smallflash(w_shotorg);
 
 	// casing code




More information about the nexuiz-commits mailing list