mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix LUAh_PlayerHeight returning wrong default value
This commit is contained in:
parent
c3caa55f22
commit
b73e52476d
1 changed files with 1 additions and 1 deletions
|
|
@ -1982,7 +1982,7 @@ fixed_t LUAh_PlayerHeight(player_t *player)
|
||||||
hook_p hookp;
|
hook_p hookp;
|
||||||
fixed_t newheight = -1;
|
fixed_t newheight = -1;
|
||||||
if (!gL || !(hooksAvailable[hook_PlayerHeight/8] & (1<<(hook_PlayerHeight%8))))
|
if (!gL || !(hooksAvailable[hook_PlayerHeight/8] & (1<<(hook_PlayerHeight%8))))
|
||||||
return 0;
|
return newheight;
|
||||||
|
|
||||||
lua_settop(gL, 0);
|
lua_settop(gL, 0);
|
||||||
lua_pushcfunction(gL, LUA_GetErrorMessage);
|
lua_pushcfunction(gL, LUA_GetErrorMessage);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue