X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fserver%2Fg_hook.qh;h=719bf5b605bdbfc1832761610f0f0ac8a3c88670;hb=0076d3f631e54b908b7506883c75c6d28f6b9505;hp=2a2d566b35670b97a9ace13a126349e2f7e0d80a;hpb=317ec3eb27ada1c4668876e9499136125acb7984;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/g_hook.qh b/qcsrc/server/g_hook.qh index 2a2d566b3..719bf5b60 100644 --- a/qcsrc/server/g_hook.qh +++ b/qcsrc/server/g_hook.qh @@ -1,10 +1,9 @@ -#ifndef HOOK_H -#define HOOK_H +#pragma once // Wazat's grappling hook .entity hook; -void RemoveGrapplingHook(entity pl); -void SetGrappleHookBindings(); +void RemoveGrapplingHooks(entity pl); +void RemoveHook(entity this); // (note: you can change the hook impulse #'s to whatever you please) .float hook_time; @@ -17,4 +16,3 @@ const float HOOK_WAITING_FOR_RELEASE = BIT(4); void GrappleHookInit(); vector hook_shotorigin[4]; -#endif