mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
parent
6cb0e9667d
commit
9df5a4b25f
1 changed files with 0 additions and 16 deletions
|
|
@ -286,16 +286,6 @@ static inline int lib_getenum(lua_State *L)
|
||||||
lua_pushinteger(L, ((lua_Integer)1<<i));
|
lua_pushinteger(L, ((lua_Integer)1<<i));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if (fastcmp(p, "FULLSTASIS"))
|
|
||||||
{
|
|
||||||
lua_pushinteger(L, (lua_Integer)PF_FULLSTASIS);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
else if (fastcmp(p, "USEDOWN")) // Remove case when 2.3 nears release...
|
|
||||||
{
|
|
||||||
lua_pushinteger(L, (lua_Integer)PF_SPINDOWN);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
if (mathlib) return luaL_error(L, "playerflag '%s' could not be found.\n", word);
|
if (mathlib) return luaL_error(L, "playerflag '%s' could not be found.\n", word);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
@ -562,12 +552,6 @@ static inline int lib_getenum(lua_State *L)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fastcmp(word, "BT_USE")) // Remove case when 2.3 nears release...
|
|
||||||
{
|
|
||||||
lua_pushinteger(L, (lua_Integer)BT_SPIN);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (i = 0; INT_CONST[i].n; i++)
|
for (i = 0; INT_CONST[i].n; i++)
|
||||||
if (fastcmp(word,INT_CONST[i].n)) {
|
if (fastcmp(word,INT_CONST[i].n)) {
|
||||||
lua_pushinteger(L, INT_CONST[i].v);
|
lua_pushinteger(L, INT_CONST[i].v);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue