prevent a new "stealth electro" exploit ;)
authorRudolf Polzer <divVerent@alientrap.org>
Fri, 17 Sep 2010 13:07:04 +0000 (15:07 +0200)
committerRudolf Polzer <divVerent@alientrap.org>
Fri, 17 Sep 2010 13:07:04 +0000 (15:07 +0200)
qcsrc/client/hook.qc

index 3e3d11c..c1e8383 100644 (file)
@@ -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;