use m_pParent
This commit is contained in:
@@ -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 );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user