remove unused Player::IsPlayingBeginner
This commit is contained in:
@@ -2611,23 +2611,6 @@ void Player::CacheAllUsedNoteSkins()
|
||||
m_pNoteField->CacheAllUsedNoteSkins();
|
||||
}
|
||||
|
||||
bool Player::IsPlayingBeginner() const
|
||||
{
|
||||
if( m_pPlayerStageStats != NULL && !m_pPlayerStageStats->m_vpPossibleSteps.empty() )
|
||||
{
|
||||
Steps *pSteps = m_pPlayerStageStats->m_vpPossibleSteps[0];
|
||||
return pSteps->GetDifficulty() == Difficulty_Beginner;
|
||||
}
|
||||
|
||||
if( m_pPlayerState == NULL )
|
||||
return false;
|
||||
|
||||
if( m_pPlayerState->m_PlayerNumber == PLAYER_INVALID )
|
||||
return false;
|
||||
Steps *pSteps = GAMESTATE->m_pCurSteps[ m_pPlayerState->m_PlayerNumber ];
|
||||
return pSteps && pSteps->GetDifficulty() == Difficulty_Beginner;
|
||||
}
|
||||
|
||||
void Player::SetJudgment( TapNoteScore tns, float fTapNoteOffset )
|
||||
{
|
||||
Message msg("Judgment");
|
||||
|
||||
@@ -131,7 +131,6 @@ protected:
|
||||
int GetClosestNonEmptyRowDirectional( int iStartRow, int iMaxRowsAhead, bool bAllowGraded, bool bForward ) const;
|
||||
int GetClosestNonEmptyRow( int iNoteRow, int iMaxRowsAhead, int iMaxRowsBehind, bool bAllowGraded ) const;
|
||||
|
||||
bool IsPlayingBeginner() const;
|
||||
inline void HideNote( int col, int row )
|
||||
{
|
||||
NoteData::iterator iter = m_NoteData.FindTapNote( col, row );
|
||||
|
||||
Reference in New Issue
Block a user