mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 22:13:27 +02:00
Speed up compilation time for luafunctions
* Other compile fixes for gcc
This commit is contained in:
@@ -901,8 +901,7 @@ void LuaInterface::getEnv(int index)
|
||||
void LuaInterface::setEnv(int index)
|
||||
{
|
||||
assert(hasIndex(index));
|
||||
int ret;
|
||||
ret = lua_setfenv(L, index);
|
||||
lua_setfenv(L, index);
|
||||
assert(ret == 1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user