]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Comment on my last fix
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 3 Oct 2010 18:24:39 +0000 (21:24 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 3 Oct 2010 18:24:39 +0000 (21:24 +0300)
data/qcsrc/server/t_plats.qc

index f207f19d1170e0d6519a9732dd5b8bcb57a14406..d92c0a916ce34dda4f13c072f3703c31995c3a13 100644 (file)
@@ -387,7 +387,7 @@ void func_bobbing_controller_think()
        makevectors((self.nextthink * self.owner.cnt + self.owner.phase * 360) * '0 1 0');\r
        v = self.owner.destvec + self.owner.movedir * v_forward_y;\r
        // * 10 so it will arrive in 0.1 sec\r
-       if(self.owner.classname == "func_bobbing")\r
+       if(self.owner.classname == "func_bobbing") // don't brake stuff if the func_bobbing was killtarget'ed\r
                self.owner.velocity = (v - self.owner.origin) * 10;\r
 };\r
 \r