[nexuiz-commits] r6967 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Jun 10 15:41:06 EDT 2009
Author: div0
Date: 2009-06-10 15:41:06 -0400 (Wed, 10 Jun 2009)
New Revision: 6967
Modified:
trunk/data/qcsrc/server/t_items.qc
Log:
why &, use ==
Modified: trunk/data/qcsrc/server/t_items.qc
===================================================================
--- trunk/data/qcsrc/server/t_items.qc 2009-06-10 19:40:36 UTC (rev 6966)
+++ trunk/data/qcsrc/server/t_items.qc 2009-06-10 19:41:06 UTC (rev 6967)
@@ -649,9 +649,9 @@
precache_sound ("misc/itemrespawn.wav");
precache_sound ("misc/itemrespawncountdown.wav");
- if(itemid & IT_STRENGTH)
+ if(itemid == IT_STRENGTH)
precache_sound ("misc/strength_respawn.wav");
- if(itemid & IT_INVINCIBLE)
+ if(itemid == IT_INVINCIBLE)
precache_sound ("misc/shield_respawn.wav");
if((itemid & (IT_STRENGTH | IT_INVINCIBLE | IT_HEALTH | IT_ARMOR | IT_KEY1 | IT_KEY2)) || (weaponid & WEPBIT_ALL))
More information about the nexuiz-commits
mailing list