[nexuiz-commits] r8300 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Nov 21 09:28:03 EST 2009
Author: div0
Date: 2009-11-21 09:28:03 -0500 (Sat, 21 Nov 2009)
New Revision: 8300
Modified:
trunk/data/qcsrc/server/w_crylink.qc
trunk/data/qcsrc/server/w_laser.qc
Log:
fix minor typos in gauntlet and lighting gun code
Modified: trunk/data/qcsrc/server/w_crylink.qc
===================================================================
--- trunk/data/qcsrc/server/w_crylink.qc 2009-11-19 21:32:41 UTC (rev 8299)
+++ trunk/data/qcsrc/server/w_crylink.qc 2009-11-21 14:28:03 UTC (rev 8300)
@@ -180,7 +180,7 @@
self.ammo_cells = self.ammo_cells - cvar("g_balance_crylink_secondary_ammo");
W_SetupShot (self, TRUE, 0, "weapons/crylink_fire2.wav", cvar("g_balance_crylink_secondary_damage"));
- traceline_antilag(self, w_shotorg, w_shotorg + w_shotdir * cvar("g_balance_crylink_secondary_radius"), FALSE, self, self.ping * 0.001);
+ traceline_antilag(self, w_shotorg, w_shotorg + w_shotdir * cvar("g_balance_crylink_secondary_radius"), FALSE, self, ANTILAG_LATENCY(self));
te_lightning1(self, w_shotorg, trace_endpos);
Modified: trunk/data/qcsrc/server/w_laser.qc
===================================================================
--- trunk/data/qcsrc/server/w_laser.qc 2009-11-19 21:32:41 UTC (rev 8299)
+++ trunk/data/qcsrc/server/w_laser.qc 2009-11-21 14:28:03 UTC (rev 8300)
@@ -101,7 +101,7 @@
{
W_SetupShot (self, TRUE, 0, "weapons/gauntlet_fire.wav", cvar("g_balance_laser_primary_damage"));
- traceline_antilag(self, w_shotorg, w_shotorg + w_shotdir * cvar("g_balance_laser_primary_radius"), FALSE, self, self.ping * 0.001);
+ traceline_antilag(self, w_shotorg, w_shotorg + w_shotdir * cvar("g_balance_laser_primary_radius"), FALSE, self, ANTILAG_LATENCY(self));
pointparticles(particleeffectnum("laser_gauntlet"), w_shotorg + w_shotdir * cvar("g_balance_laser_primary_radius"), '0 0 0', 1);
More information about the nexuiz-commits
mailing list