use m_pParent

This commit is contained in:
Glenn Maynard
2006-08-15 19:12:09 +00:00
parent ec683e54d9
commit d2a4a2fa76
+2 -2
View File
@@ -1048,8 +1048,8 @@ void Actor::RunCommands( const LuaReference& cmds, Actor *pParent )
this->PushSelf( L );
// 2nd parameter
if( pParent )
pParent->PushSelf( L );
if( m_pParent )
m_pParent->PushSelf( L );
else
lua_pushnil( L );