r2073 - branches/nexuiz-2.0/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Dec 29 06:08:58 EST 2006
Author: div0
Date: 2006-12-29 06:08:58 -0500 (Fri, 29 Dec 2006)
New Revision: 2073
Modified:
branches/nexuiz-2.0/data/qcsrc/server/w_crylink.qc
Log:
Crylink center fixed
Modified: branches/nexuiz-2.0/data/qcsrc/server/w_crylink.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/w_crylink.qc 2006-12-29 11:08:23 UTC (rev 2072)
+++ branches/nexuiz-2.0/data/qcsrc/server/w_crylink.qc 2006-12-29 11:08:58 UTC (rev 2073)
@@ -139,7 +139,7 @@
setsize (proj, '0 0 0', '0 0 0');
setorigin (proj, w_shotorg);
- proj.velocity = (w_shotdir + ((counter / shots) * 2 - 1) * v_right * cvar("g_balance_crylink_secondary_spread")) * cvar("g_balance_crylink_secondary_speed");
+ proj.velocity = (w_shotdir + (((counter + 0.5) / shots) * 2 - 1) * v_right * cvar("g_balance_crylink_secondary_spread")) * cvar("g_balance_crylink_secondary_speed");
proj.touch = W_Crylink_Touch2;
proj.think = SUB_Remove;
proj.nextthink = time + cvar("g_balance_crylink_secondary_lifetime");
More information about the nexuiz-commits
mailing list