This commit is contained in:
Glenn Maynard
2006-10-02 22:53:32 +00:00
parent 83defce27b
commit 9e4da8650f
+2 -3
View File
@@ -1245,9 +1245,8 @@ void Actor::PushContext( lua_State *L )
{
// self.ctx should already exist
m_pLuaInstance->PushSelf( L );
lua_pushstring( L, "ctx" );
lua_gettable( L, -2 );
lua_replace( L, -2 );
lua_getfield( L, -1, "ctx" );
lua_remove( L, -2 );
}
void Actor::SetParent( Actor *pParent )