Account for Nightmare difficulty files (Nightmare is always double).

This commit is contained in:
Jason Felds
2006-07-11 03:21:34 +00:00
parent 146604972e
commit f8f0aa6c34
+1 -1
View File
@@ -138,7 +138,7 @@ bool KSFLoader::LoadFromKSFFile( const RString &sPath, Steps &out, const Song &s
/* Check for "halfdouble" before "double". */
if( sFName.find("halfdouble") != string::npos || sFName.find("h_double") != string::npos )
out.m_StepsType = STEPS_TYPE_PUMP_HALFDOUBLE;
else if( sFName.find("double") != string::npos )
else if( sFName.find("double") != string::npos || sFName.find("nightmare") != string::npos )
out.m_StepsType = STEPS_TYPE_PUMP_DOUBLE;
else if( sFName.find("_1") != string::npos )
out.m_StepsType = STEPS_TYPE_PUMP_SINGLE;