mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Revert "Readded EvalMath to Lua."
This partially reverts commit cfcd7ce0d3.
This commit is contained in:
parent
b229cac57a
commit
62b2e5c17e
1 changed files with 0 additions and 9 deletions
|
|
@ -85,14 +85,6 @@ static int lib_print(lua_State *L)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int lib_evalMath(lua_State *L)
|
|
||||||
{
|
|
||||||
const char *word = luaL_checkstring(L, 1);
|
|
||||||
LUA_Deprecated(L, "EvalMath(string)", "_G[string]");
|
|
||||||
lua_pushinteger(L, LUA_EvalMath(word));
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// M_RANDOM
|
// M_RANDOM
|
||||||
//////////////
|
//////////////
|
||||||
|
|
||||||
|
|
@ -1911,7 +1903,6 @@ static int lib_gTicsToMilliseconds(lua_State *L)
|
||||||
|
|
||||||
static luaL_Reg lib[] = {
|
static luaL_Reg lib[] = {
|
||||||
{"print", lib_print},
|
{"print", lib_print},
|
||||||
{"EvalMath", lib_evalMath},
|
|
||||||
|
|
||||||
// m_random
|
// m_random
|
||||||
{"P_Random",lib_pRandom},
|
{"P_Random",lib_pRandom},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue