From: Rudolf Polzer Date: Fri, 17 Sep 2010 13:07:04 +0000 (+0200) Subject: prevent a new "stealth electro" exploit ;) X-Git-Tag: xonotic-v0.1.0preview~267^2~26^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=952b293de9441c34a0c1f0d9639af521094a8832;p=xonotic%2Fxonotic-data.pk3dir.git prevent a new "stealth electro" exploit ;) --- diff --git a/qcsrc/client/hook.qc b/qcsrc/client/hook.qc index 3e3d11cbc..c1e8383aa 100644 --- a/qcsrc/client/hook.qc +++ b/qcsrc/client/hook.qc @@ -261,7 +261,7 @@ void Ent_ReadHook(float bIsNew, float type) InterpolateOrigin_Note(); - if(bIsNew) + if(bIsNew || !self.teleport_time) { self.draw = Draw_GrapplingHook; self.entremove = Remove_GrapplingHook;