fix assert
This commit is contained in:
@@ -275,7 +275,7 @@ bool Actor::IsType( const CString &sType )
|
||||
{
|
||||
Lua *L = LUA->Get();
|
||||
this->PushSelf( L );
|
||||
bool bRet = CheckLuaObjectType( L, -1, sType, false );
|
||||
bool bRet = CheckLuaObjectType( L, lua_gettop(L), sType, false );
|
||||
lua_pop( L, 1 );
|
||||
LUA->Release( L );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user