Update lua_hooklib.c

You need to "void" the functions
This commit is contained in:
Alam Ed Arias 2023-10-26 09:47:50 +00:00
parent 79aaf3e613
commit b404c965a6

View file

@ -718,17 +718,17 @@ static void hook_think_frame(int type)
} }
} }
void LUA_HookPreThinkFrame() void LUA_HookPreThinkFrame(void)
{ {
hook_think_frame(HOOK(PreThinkFrame)); hook_think_frame(HOOK(PreThinkFrame));
} }
void LUA_HookThinkFrame() void LUA_HookThinkFrame(void)
{ {
hook_think_frame(HOOK(ThinkFrame)); hook_think_frame(HOOK(ThinkFrame));
} }
void LUA_HookPostThinkFrame() void LUA_HookPostThinkFrame(void)
{ {
hook_think_frame(HOOK(PostThinkFrame)); hook_think_frame(HOOK(PostThinkFrame));
} }