This commit is contained in:
Steve Checkoway
2006-07-17 02:59:35 +00:00
parent 8db5d63e1e
commit 649cb46a15
2 changed files with 0 additions and 14 deletions
-11
View File
@@ -923,17 +923,6 @@ int Player::GetClosestNote( int col, int iNoteRow, int iMaxRowsAhead, int iMaxRo
return iNextIndex;
}
int Player::GetClosestNoteDistance( int col, int row ) const
{
const int iStepSearchRows = BeatToNoteRow( StepSearchDistance * GAMESTATE->m_fCurBPS * GAMESTATE->m_SongOptions.m_fMusicRate );
int iIndexOverlappingNote = GetClosestNote( col, row, iStepSearchRows, iStepSearchRows, false );
if( iIndexOverlappingNote <= 0 )
return iIndexOverlappingNote;
return abs( iIndexOverlappingNote - row );
}
void Player::Step( int col, const RageTimer &tm, bool bHeld )
{
bool bOniDead =