mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
got rid of the settop as well
This commit is contained in:
parent
5ef97a6ec8
commit
24580087d0
1 changed files with 0 additions and 1 deletions
|
|
@ -613,7 +613,6 @@ static int lib_huddisable(lua_State *L)
|
||||||
static int lib_hudenabled(lua_State *L)
|
static int lib_hudenabled(lua_State *L)
|
||||||
{
|
{
|
||||||
enum hud option = luaL_checkoption(L, 1, NULL, hud_disable_options);
|
enum hud option = luaL_checkoption(L, 1, NULL, hud_disable_options);
|
||||||
lua_settop(L, 2);
|
|
||||||
if (hud_enabled[option/8] & (1<<(option%8)))
|
if (hud_enabled[option/8] & (1<<(option%8)))
|
||||||
lua_pushboolean(L, true);
|
lua_pushboolean(L, true);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue