debugging

This commit is contained in:
Glenn Maynard
2007-04-28 16:26:09 +00:00
parent 5a602a6fa2
commit da811a3f33
+1 -1
View File
@@ -711,7 +711,7 @@ void BackgroundImpl::Layer::UpdateCurBGChange( const Song *pSong, float fLastMus
float fDeltaTime = fCurrentTime - fLastMusicSeconds; float fDeltaTime = fCurrentTime - fLastMusicSeconds;
if( i != -1 && i != m_iCurBGChangeIndex ) // we're changing backgrounds if( i != -1 && i != m_iCurBGChangeIndex ) // we're changing backgrounds
{ {
LOG->Trace( "old bga %d -> new bga %d, %f, %f", m_iCurBGChangeIndex, i, m_aBGChanges[i].m_fStartBeat, fBeat ); LOG->Trace( "old bga %d -> new bga %d (%s), %f, %f", m_iCurBGChangeIndex, i, m_aBGChanges[i].GetTextDescription().c_str(), m_aBGChanges[i].m_fStartBeat, fBeat );
BackgroundChange oldChange; BackgroundChange oldChange;
if( m_iCurBGChangeIndex != -1 ) if( m_iCurBGChangeIndex != -1 )