Fixed compilation in ManualBindings
This commit is contained in:
parent
4034136922
commit
0281b1db6e
@ -143,7 +143,7 @@ cPlugin_NewLua * GetLuaPlugin(lua_State * L)
|
|||||||
if (!lua_islightuserdata(L, -1))
|
if (!lua_islightuserdata(L, -1))
|
||||||
{
|
{
|
||||||
LOGWARNING("%s: cannot get plugin instance, what have you done to my Lua state?", __FUNCTION__);
|
LOGWARNING("%s: cannot get plugin instance, what have you done to my Lua state?", __FUNCTION__);
|
||||||
lua_pop(L);
|
lua_pop(L, 1);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
cPlugin_NewLua * Plugin = (cPlugin_NewLua *)lua_topointer(L, -1);
|
cPlugin_NewLua * Plugin = (cPlugin_NewLua *)lua_topointer(L, -1);
|
||||||
|
Loading…
Reference in New Issue
Block a user