dix double* sorts picking up half double. Only use regular double.

This commit is contained in:
Chris Danford
2008-06-24 01:22:40 +00:00
parent a279b360ba
commit 28784d9aa8
+4
View File
@@ -938,6 +938,10 @@ bool SongUtil::GetStepsTypeAndDifficultyFromSortOrder( SortOrder so, StepsType &
{
if( (*i)->m_StyleType == StyleType_OnePlayerTwoSides )
{
// Ugly hack to ignore pump's half-double.
bool bContainsHalf = ((RString)(*i)->m_szName).find("half") != RString::npos;
if( bContainsHalf )
continue;
stOut = (*i)->m_StepsType;
break;
}