merge common code

This commit is contained in:
Glenn Maynard
2005-08-12 03:16:44 +00:00
parent ce5643c76a
commit 6c8fd11e93
+2 -4
View File
@@ -197,16 +197,14 @@ bool HighScore::operator>=( const HighScore& other ) const
{
if( GetPercentDP() != other.GetPercentDP() )
return GetPercentDP() >= other.GetPercentDP();
else
return GetGrade() >= other.GetGrade();
}
else
{
if( GetScore() != other.GetScore() )
return GetScore() >= other.GetScore();
else
return GetGrade() >= other.GetGrade();
}
return GetGrade() >= other.GetGrade();
}
bool HighScore::operator==( const HighScore& other ) const