r4399 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Sep 7 09:50:17 EDT 2008


Author: div0
Date: 2008-09-07 09:50:17 -0400 (Sun, 07 Sep 2008)
New Revision: 4399

Modified:
   trunk/data/qcsrc/server/t_items.qc
Log:
another typo bites the dust


Modified: trunk/data/qcsrc/server/t_items.qc
===================================================================
--- trunk/data/qcsrc/server/t_items.qc	2008-09-07 13:48:05 UTC (rev 4398)
+++ trunk/data/qcsrc/server/t_items.qc	2008-09-07 13:50:17 UTC (rev 4399)
@@ -921,12 +921,12 @@
 
 float target_item_func_itembitset(float a, float b)
 {
-	return (b - (b & (IT_UNLIMITED_AMMO | IT_STRENGTH | IT_INVINCIBLE))) | a;
+	return (a - (a & (IT_UNLIMITED_AMMO | IT_STRENGTH | IT_INVINCIBLE))) | b;
 }
 
 float target_item_func_itemand(float a, float b)
 {
-	return (b - (b & (IT_UNLIMITED_AMMO | IT_STRENGTH | IT_INVINCIBLE))) | (a & b);
+	return (a - (a & (IT_UNLIMITED_AMMO | IT_STRENGTH | IT_INVINCIBLE))) | (a & b);
 }
 
 float target_item_func_or(float a, float b)




More information about the nexuiz-commits mailing list