Merge branch 'remove-bt_use-deprecation' into 'next'
Remove BT_USE and PF_USEDOWN warning See merge request STJr/SRB2!1138
This commit is contained in:
commit
9f09e32520
|
@ -10845,7 +10845,6 @@ static inline int lib_getenum(lua_State *L)
|
||||||
}
|
}
|
||||||
else if (fastcmp(p, "USEDOWN")) // Remove case when 2.3 nears release...
|
else if (fastcmp(p, "USEDOWN")) // Remove case when 2.3 nears release...
|
||||||
{
|
{
|
||||||
LUA_Deprecated(L, "PF_USEDOWN", "PF_SPINDOWN");
|
|
||||||
lua_pushinteger(L, (lua_Integer)PF_SPINDOWN);
|
lua_pushinteger(L, (lua_Integer)PF_SPINDOWN);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@ -11117,7 +11116,6 @@ static inline int lib_getenum(lua_State *L)
|
||||||
|
|
||||||
if (fastcmp(word, "BT_USE")) // Remove case when 2.3 nears release...
|
if (fastcmp(word, "BT_USE")) // Remove case when 2.3 nears release...
|
||||||
{
|
{
|
||||||
LUA_Deprecated(L, "BT_USE", "BT_SPIN");
|
|
||||||
lua_pushinteger(L, (lua_Integer)BT_SPIN);
|
lua_pushinteger(L, (lua_Integer)BT_SPIN);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue