]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add an option to use the new "pro" hook texture
authorMario <zacjardine@y7mail.com>
Sun, 22 Feb 2015 02:12:27 +0000 (13:12 +1100)
committerMario <zacjardine@y7mail.com>
Sun, 22 Feb 2015 02:12:27 +0000 (13:12 +1100)
qcsrc/client/autocvars.qh
qcsrc/client/hook.qc

index 013a1179ff9c7915f6c373d000dbace85d52443a..d8c0c6608fb6aa3de4162dcb0fa94d695884686c 100644 (file)
@@ -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;
index 02a00af9530231cf539c99a12c50e50cb99fd7b1..8861067dd62f8911cab23852b02cc431d592a496 100644 (file)
@@ -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)