]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/havocbot/role_onslaught.qc
get rid of W_WeaponBit
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / havocbot / role_onslaught.qc
index f37f821f118e595a1aae8088c2112f40bf0957f3..90150e2ab3c4d027b6219c905497ea821563c858 100644 (file)
@@ -38,7 +38,7 @@ void havocbot_goalrating_ons_offenseitems(float ratingscale, vector org, float s
        for(i = WEP_FIRST; i <= WEP_LAST ; ++i)
        {
                // Find weapon
-               if(WEPSET_TEST_EW(self, i))
+               if(WEPSET_CONTAINS_EW(self, i))
                if(++c>=4)
                        break;
        }