From: Mario Date: Mon, 30 Dec 2013 11:18:12 +0000 (+1100) Subject: Update hook function names X-Git-Tag: xonotic-v0.8.0~152^2~208 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1483221b7777cd5fe57fb21517e9179866b3898f;p=xonotic%2Fxonotic-data.pk3dir.git Update hook function names --- diff --git a/qcsrc/common/weapons/w_hook.qc b/qcsrc/common/weapons/w_hook.qc index 11faefece..c573cbd96 100644 --- a/qcsrc/common/weapons/w_hook.qc +++ b/qcsrc/common/weapons/w_hook.qc @@ -1,7 +1,7 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( /* WEP_##id */ HOOK, -/* function */ w_hook, +/* function */ W_Hook, /* ammotype */ ammo_fuel, /* impulse */ 0, /* flags */ WEP_FLAG_CANCLIMB | WEP_TYPE_SPLASH, @@ -169,7 +169,7 @@ void W_Hook_Attack2() other = gren; MUTATOR_CALLHOOK(EditProjectile); } -float w_hook(float req) +float W_Hook(float req) { float hooked_time_max, hooked_fuel; @@ -332,7 +332,7 @@ float w_hook(float req) } #endif #ifdef CSQC -float w_hook(float req) +float W_Hook(float req) { switch(req) {