[LifeMeterBattery] Convert Frame to an AutoActor.

This commit is contained in:
AJ Kelly
2011-04-21 01:44:13 -05:00
parent e24529e3fc
commit 9efb17eca7
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ void LifeMeterBattery::Load( const PlayerState *pPlayerState, PlayerStageStats *
bool bPlayerEnabled = GAMESTATE->IsPlayerEnabled( pPlayerState );
m_sprFrame.Load( THEME->GetPathG(sType,"frame") );
this->AddChild( &m_sprFrame );
this->AddChild( m_sprFrame );
m_sprBattery.Load( THEME->GetPathG(sType,"lives 1x4") );
m_sprBattery.SetName( ssprintf("BatteryP%i",int(pn+1)) );