mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-27 19:50:51 +00:00
remove gL check
This commit is contained in:
parent
a0495142df
commit
799d8d2749
1 changed files with 1 additions and 1 deletions
|
@ -614,7 +614,7 @@ 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);
|
lua_settop(L, 2);
|
||||||
if (!gL || 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
|
||||||
lua_pushboolean(L, false);
|
lua_pushboolean(L, false);
|
||||||
|
|
Loading…
Reference in a new issue