mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-23 17:51:31 +00:00
Update lua_hooklib.c
You need to "void" the functions
This commit is contained in:
parent
79aaf3e613
commit
b404c965a6
1 changed files with 3 additions and 3 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue