]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
grml
authorJakob MG <jakob_mg@hotmail.com>
Sun, 20 May 2012 17:01:01 +0000 (19:01 +0200)
committerJakob MG <jakob_mg@hotmail.com>
Sun, 20 May 2012 17:01:01 +0000 (19:01 +0200)
qcsrc/server/vehicles/vehicles.qc

index b25177fdf165917f40d524d249248ce23f227219..bfd13a0e7d52941c5494b2104d160b9d20126c73 100644 (file)
@@ -212,7 +212,7 @@ void targetdrone_think()
                self.velocity = normalize(newdir) * 750;
 
        tracebox(self.origin, self.mins, self.maxs, self.origin + self.velocity * 2, MOVE_NORMAL, self);
-       if(!trace_fraction == 1.0)
+       if(trace_fraction != 1.0)
                self.velocity = self.velocity * -1;
 
        //normalize((normalize(self.velocity) * 0.5 + newdir * 0.5)) * 750;