Oops! Fix compilation
authorterencehill <piuntn@gmail.com>
Fri, 20 Jan 2017 14:48:50 +0000 (15:48 +0100)
committerterencehill <piuntn@gmail.com>
Fri, 20 Jan 2017 14:48:50 +0000 (15:48 +0100)
qcsrc/server/bot/default/havocbot/roles.qc

index ce5facc..a4ca874 100644 (file)
@@ -74,7 +74,7 @@ void havocbot_goalrating_items(entity this, float ratingscale, vector org, float
                                        if (picker.health && it.health > this.health) continue;
                                        if (picker.armorvalue && it.armorvalue > this.armorvalue) continue;
 
-                                       if (picker.weapons && (picker.weapons & ~it.weapons) continue;
+                                       if (picker.weapons && (picker.weapons & ~it.weapons)) continue;
 
                                        if (picker.ammo_shells && it.ammo_shells > this.ammo_shells) continue;
                                        if (picker.ammo_nails && it.ammo_nails > this.ammo_nails) continue;