diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index 526f3286d8..e4133838a4 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -930,16 +930,7 @@ void Player::Step( int col, const RageTimer &tm, bool bHeld ) m_pPlayerStageStats->bFailed; if( bOniDead ) return; // do nothing - - HandleStep( col, tm, bHeld ); - - MESSAGEMAN->Broadcast( m_sMessageToSendOnStep ); -} - -void Player::HandleStep( int col, const RageTimer &tm, bool bHeld ) -{ - //LOG->Trace( "Player::HandlePlayerStep()" ); - + DEBUG_ASSERT_M( col >= 0 && col <= m_NoteData.GetNumTracks(), ssprintf("%i, %i", col, m_NoteData.GetNumTracks()) ); @@ -1265,6 +1256,8 @@ void Player::HandleStep( int col, const RageTimer &tm, bool bHeld ) m_vKeysounds[tn.iKeysoundIndex].Play(); } } + + MESSAGEMAN->Broadcast( m_sMessageToSendOnStep ); } static bool Unjudged( const TapNote &tn ) diff --git a/stepmania/src/Player.h b/stepmania/src/Player.h index 5927daf59e..93ce141ce5 100644 --- a/stepmania/src/Player.h +++ b/stepmania/src/Player.h @@ -124,7 +124,6 @@ public: bool HasNoteField() const { return m_pNoteField != NULL; } protected: - void HandleStep( int col, const RageTimer &tm, bool bHeld ); void UpdateTapNotesMissedOlderThan( float fMissIfOlderThanThisBeat ); void UpdateJudgedRows(); void FlashGhostRow( int iRow, PlayerNumber pn );