r4284 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Sep 2 07:19:52 EDT 2008
Author: div0
Date: 2008-09-02 07:19:52 -0400 (Tue, 02 Sep 2008)
New Revision: 4284
Modified:
trunk/data/qcsrc/server/cl_weapons.qc
Log:
use the right field there
Modified: trunk/data/qcsrc/server/cl_weapons.qc
===================================================================
--- trunk/data/qcsrc/server/cl_weapons.qc 2008-09-02 11:19:08 UTC (rev 4283)
+++ trunk/data/qcsrc/server/cl_weapons.qc 2008-09-02 11:19:52 UTC (rev 4284)
@@ -237,7 +237,7 @@
if(first_valid < 0)
first_valid = weaponwant;
prev_valid = weaponwant;
- if(weaponwant == self.weapon)
+ if(weaponwant == self.switchweapon)
{
if(dir >= 0)
switchtonext = 1;
More information about the nexuiz-commits
mailing list