]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Update hook function names
authorMario <mario.mario@y7mail.com>
Mon, 30 Dec 2013 11:18:12 +0000 (22:18 +1100)
committerMario <mario.mario@y7mail.com>
Mon, 30 Dec 2013 11:18:12 +0000 (22:18 +1100)
qcsrc/common/weapons/w_hook.qc

index 11faefece59e39fd4ae74219f0ad5fc3ea7df82a..c573cbd96a39b34fe03518259664a4b783c85ba8 100644 (file)
@@ -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)
        {