From: terencehill Date: Fri, 20 Jan 2017 14:48:50 +0000 (+0100) Subject: Oops! Fix compilation X-Git-Tag: xonotic-v0.8.2~280 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2c96f1aae4fd7515adaa744bd417894aa089a882;p=xonotic%2Fxonotic-data.pk3dir.git Oops! Fix compilation --- diff --git a/qcsrc/server/bot/default/havocbot/roles.qc b/qcsrc/server/bot/default/havocbot/roles.qc index ce5facc16..a4ca874f9 100644 --- a/qcsrc/server/bot/default/havocbot/roles.qc +++ b/qcsrc/server/bot/default/havocbot/roles.qc @@ -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;