From: MirceaKitsune Date: Sun, 3 Oct 2010 18:24:39 +0000 (+0300) Subject: Comment on my last fix X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=99b76b99ab0910c2dbc18231fb924c891053cab0;p=voretournament%2Fvoretournament.git Comment on my last fix --- diff --git a/data/qcsrc/server/t_plats.qc b/data/qcsrc/server/t_plats.qc index f207f19d..d92c0a91 100644 --- a/data/qcsrc/server/t_plats.qc +++ b/data/qcsrc/server/t_plats.qc @@ -387,7 +387,7 @@ void func_bobbing_controller_think() makevectors((self.nextthink * self.owner.cnt + self.owner.phase * 360) * '0 1 0'); v = self.owner.destvec + self.owner.movedir * v_forward_y; // * 10 so it will arrive in 0.1 sec - if(self.owner.classname == "func_bobbing") + if(self.owner.classname == "func_bobbing") // don't brake stuff if the func_bobbing was killtarget'ed self.owner.velocity = (v - self.owner.origin) * 10; };