From 4fdf046cacd02a438e43b9ca7baab4cce137f500 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 18 Jan 2006 07:41:44 +0000 Subject: [PATCH] cleanup --- stepmania/src/ScreenGameplay.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index 06340a0156..fcaebf0bcf 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -2375,18 +2375,18 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM ) else if( SM == SM_LeaveGameplay ) { // update dancing characters for win / lose - DancingCharacters *Dancers = m_SongBackground.GetDancingCharacters(); - if( Dancers ) + DancingCharacters *pDancers = m_SongBackground.GetDancingCharacters(); + if( pDancers ) { FOREACH_EnabledPlayerNumberInfo( m_vPlayerInfo, pi ) { /* XXX: In battle modes, switch( GAMESTATE->GetStageResult(p) ). */ if( pi->GetPlayerStageStats()->bFailed ) - Dancers->Change2DAnimState( pi->m_pn, AS2D_FAIL ); // fail anim + pDancers->Change2DAnimState( pi->m_pn, AS2D_FAIL ); // fail anim else if( pi->m_pLifeMeter && pi->m_pLifeMeter->GetLife() == 1.0f ) // full life - Dancers->Change2DAnimState( pi->m_pn, AS2D_WINFEVER ); // full life pass anim + pDancers->Change2DAnimState( pi->m_pn, AS2D_WINFEVER ); // full life pass anim else - Dancers->Change2DAnimState( pi->m_pn, AS2D_WIN ); // pass anim + pDancers->Change2DAnimState( pi->m_pn, AS2D_WIN ); // pass anim } }