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 ); this->PushSelf( L );
// 2nd parameter // 2nd parameter
if( pParent ) if( m_pParent )
pParent->PushSelf( L ); m_pParent->PushSelf( L );
else else
lua_pushnil( L ); lua_pushnil( L );