r3304 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Jan 29 13:46:08 EST 2008
Author: div0
Date: 2008-01-29 13:46:07 -0500 (Tue, 29 Jan 2008)
New Revision: 3304
Modified:
trunk/data/qcsrc/server/cl_weaponsystem.qc
Log:
fix weird weapon switch animation bug and weapon action lag by allowing anything to kill w_ready without additional delay
Modified: trunk/data/qcsrc/server/cl_weaponsystem.qc
===================================================================
--- trunk/data/qcsrc/server/cl_weaponsystem.qc 2008-01-29 17:08:19 UTC (rev 3303)
+++ trunk/data/qcsrc/server/cl_weaponsystem.qc 2008-01-29 18:46:07 UTC (rev 3304)
@@ -470,7 +470,7 @@
}
// VorteX: haste can be added here
- if (self.weapon_nextthink < time - frametime)
+ if (self.weapon_think == w_ready || self.weapon_nextthink < time - frametime)
self.weapon_nextthink = time;
self.weapon_nextthink = self.weapon_nextthink + t;
self.weapon_think = func;
More information about the nexuiz-commits
mailing list