From d2a4a2fa76453024d97bffa54dcca1946a65a89d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 15 Aug 2006 19:12:09 +0000 Subject: [PATCH] use m_pParent --- stepmania/src/Actor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index 5f143064b9..105a6980d9 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -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 );