]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
make last commit acctually work
authorJakob MG <jakob_mg@hotmail.com>
Wed, 22 Jun 2011 18:03:35 +0000 (20:03 +0200)
committerJakob MG <jakob_mg@hotmail.com>
Wed, 22 Jun 2011 18:03:35 +0000 (20:03 +0200)
qcsrc/server/tturrets/units/unit_walker.qc

index f5bd098d02cae8c2e2e11cddf0b3b217d4e8a0f0..2a9078887d4c42700f2957a021552db453f266fd 100644 (file)
@@ -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;