From: Mario Date: Sun, 22 Feb 2015 02:12:27 +0000 (+1100) Subject: Add an option to use the new "pro" hook texture X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5c100ab9aeb35270cd7e39d24a349732d5dafd5b;p=xonotic%2Fxonotic-data.pk3dir.git Add an option to use the new "pro" hook texture --- 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)