fix assert

This commit is contained in:
Glenn Maynard
2005-10-11 10:08:55 +00:00
parent 7210e10b89
commit f533842452
+1 -1
View File
@@ -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 );