mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 19:02:45 +00:00
Fix LUAh_PlayerHeight returning wrong default value
This commit is contained in:
parent
000e865f80
commit
8162d90c94
1 changed files with 1 additions and 1 deletions
|
@ -1982,7 +1982,7 @@ fixed_t LUAh_PlayerHeight(player_t *player)
|
|||
hook_p hookp;
|
||||
fixed_t newheight = -1;
|
||||
if (!gL || !(hooksAvailable[hook_PlayerHeight/8] & (1<<(hook_PlayerHeight%8))))
|
||||
return 0;
|
||||
return newheight;
|
||||
|
||||
lua_settop(gL, 0);
|
||||
lua_pushcfunction(gL, LUA_GetErrorMessage);
|
||||
|
|
Loading…
Reference in a new issue