]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 ce5facc16e6f8b7102333ba8ee6e9541670ed1f5..a4ca874f927be805ff09f36eefe043ed687414e1 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;