logic fixup
This commit is contained in:
@@ -162,16 +162,14 @@ void HighScore::Unset()
|
|||||||
|
|
||||||
bool HighScore::IsEmpty() const
|
bool HighScore::IsEmpty() const
|
||||||
{
|
{
|
||||||
FOREACH_ENUM( TapNoteScore, tns )
|
if( m_Impl->iTapNoteScores[TNS_W1] ||
|
||||||
{
|
m_Impl->iTapNoteScores[TNS_W2] ||
|
||||||
if( m_Impl->iTapNoteScores[tns] > 0 )
|
m_Impl->iTapNoteScores[TNS_W3] ||
|
||||||
return false;
|
m_Impl->iTapNoteScores[TNS_W4] ||
|
||||||
}
|
m_Impl->iTapNoteScores[TNS_W5] )
|
||||||
FOREACH_ENUM( HoldNoteScore, hns )
|
return false;
|
||||||
{
|
if( m_Impl->iHoldNoteScores[HNS_Held] > 0 )
|
||||||
if( m_Impl->iHoldNoteScores[hns] > 0 )
|
return false;
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user