From: Mario Date: Tue, 12 Jun 2018 05:35:39 +0000 (+1000) Subject: Fix a spawnflag check X-Git-Tag: xonotic-v0.8.5~2063 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d2f6a02e95aff59f4ad4b6996ddf5db8d2458d89;p=xonotic%2Fxonotic-data.pk3dir.git Fix a spawnflag check --- diff --git a/qcsrc/common/turrets/turret/walker.qc b/qcsrc/common/turrets/turret/walker.qc index 499e64d0c..93b9483de 100644 --- a/qcsrc/common/turrets/turret/walker.qc +++ b/qcsrc/common/turrets/turret/walker.qc @@ -354,7 +354,7 @@ METHOD(WalkerTurret, tr_think, void(WalkerTurret thistur, entity it)) { fixedmakevectors(it.angles); - if (it.spawnflags & TSF_NO_PATHBREAK && it.pathcurrent) + if ((it.spawnflags & TSF_NO_PATHBREAK) && it.pathcurrent) walker_move_path(it); else if (it.enemy == NULL) {