From: Jakob MG Date: Wed, 22 Jun 2011 18:03:35 +0000 (+0200) Subject: make last commit acctually work X-Git-Tag: xonotic-v0.5.0~199^2^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f03867517805ee8c3628d095ddc38e351e209cd6;p=xonotic%2Fxonotic-data.pk3dir.git make last commit acctually work --- diff --git a/qcsrc/server/tturrets/units/unit_walker.qc b/qcsrc/server/tturrets/units/unit_walker.qc index f5bd098d0..2a9078887 100644 --- a/qcsrc/server/tturrets/units/unit_walker.qc +++ b/qcsrc/server/tturrets/units/unit_walker.qc @@ -357,7 +357,7 @@ void walker_postthink() if(self.idletime < time) { - if(random() < 0.5 || self.spawnflasg & TSL_ROAM) + if(random() < 0.5 || !(self.spawnflags & TSL_ROAM)) { self.idletime = time + 1 + random() * 5; self.moveto = self.origin;