When chase_active is enabled either way, force player position for hook origin
authorMario <mario@smbclan.net>
Wed, 27 Dec 2017 00:28:59 +0000 (10:28 +1000)
committerMario <mario@smbclan.net>
Wed, 27 Dec 2017 00:28:59 +0000 (10:28 +1000)
qcsrc/common/weapons/weapon/hook.qc

index 4a21a51..b060484 100644 (file)
@@ -318,7 +318,7 @@ void Draw_GrapplingHook(entity this)
                {
                        default:
                        case NET_ENT_CLIENT_HOOK:
-                               if(autocvar_chase_active > 0)
+                               if(autocvar_chase_active)
                                        a = csqcplayer.origin;
                                else
                                        a = view_origin + view_forward * vs.x + view_right * -vs.y + view_up * vs.z;