From 28784d9aa80815bdeabac7ce4e25e2d1b401d9db Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 24 Jun 2008 01:22:40 +0000 Subject: [PATCH] dix double* sorts picking up half double. Only use regular double. --- stepmania/src/SongUtil.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/SongUtil.cpp b/stepmania/src/SongUtil.cpp index cd30746771..4fc7a0578d 100644 --- a/stepmania/src/SongUtil.cpp +++ b/stepmania/src/SongUtil.cpp @@ -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; }