Commit e59649d4 authored by terencehill's avatar terencehill

autocvar_g_grappling_hook can't use be used here as it doesn't work in the campaign, it fixes #1848

parent edd79267
Pipeline #5609751 failed with stages
in 13 minutes and 13 seconds
#include "sv_hook.qh"
AUTOCVAR(g_grappling_hook, bool, false, "let players spawn with the grappling hook which allows them to pull themselves up");
// can't use the autocvar as it doesn't work in the campaign
//AUTOCVAR(g_grappling_hook, bool, false, "let players spawn with the grappling hook which allows them to pull themselves up");
#ifdef SVQC
REGISTER_MUTATOR(hook, autocvar_g_grappling_hook) {
REGISTER_MUTATOR(hook, cvar("g_grappling_hook")) {
MUTATOR_ONADD {
g_grappling_hook = true;
WEP_HOOK.ammo_factor = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment