From 5c100ab9aeb35270cd7e39d24a349732d5dafd5b Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 22 Feb 2015 13:12:27 +1100 Subject: [PATCH] Add an option to use the new "pro" hook texture --- qcsrc/client/autocvars.qh | 1 + qcsrc/client/hook.qc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/qcsrc/client/autocvars.qh b/qcsrc/client/autocvars.qh index 013a1179f..d8c0c6608 100644 --- a/qcsrc/client/autocvars.qh +++ b/qcsrc/client/autocvars.qh @@ -56,6 +56,7 @@ float autocvar_cl_gibs_avelocity_scale = 1; float autocvar_cl_gibs_velocity_up; bool autocvar_cl_particles_newvortexbeam; bool autocvar_cl_nexuiz_hook; +int autocvar_cl_prohook; int autocvar_cl_gunalign; bool autocvar_cl_hidewaypoints; bool autocvar_cl_lockview; diff --git a/qcsrc/client/hook.qc b/qcsrc/client/hook.qc index 02a00af95..8861067dd 100644 --- a/qcsrc/client/hook.qc +++ b/qcsrc/client/hook.qc @@ -129,6 +129,8 @@ void Draw_GrapplingHook() string suffix = ""; if(autocvar_cl_nexuiz_hook) suffix = "_nexuiz"; + if(autocvar_cl_prohook) + suffix = "_pro"; intensity = 1; offset = 0; switch(t) -- 2.39.2