]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/items.qh
typo fixes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items.qh
index 7f2f4a314002b80b243954c1e63b2286e1da9c86..48ef741a21af4c4278f0a6b3469d348093220f30 100644 (file)
@@ -143,10 +143,10 @@ void register_weapons_done();
 # define WEPSET_OR_AW(a,w) ((_WS_##a) |= power2of((w) - WEP_FIRST))
 # define WEPSET_AND_AW(a,w) ((_WS_##a) &= power2of((w) - WEP_FIRST))
 # define WEPSET_ANDNOT_AW(a,w) ((_WS_##a) &~= power2of((w) - WEP_FIRST))
-# define WEPSET_CONTAINS_AW(a,w) !((_WS_##a) & power2of((w) - WEP_FIRST))
+# define WEPSET_CONTAINS_AW(a,w) !!((_WS_##a) & power2of((w) - WEP_FIRST))
 
 # ifdef CSQC
-#  define WEPSET_COPY_AS(a) ((_WS_##a) = getstatf(STAT_WEAPONS))
+#  define WEPSET_COPY_AS(a) ((_WS_##a) = getstati(STAT_WEAPONS))
 # endif
 
 # ifdef SVQC