From a799ce1b36e7635a50300944f1aadcfd4c5703eb Mon Sep 17 00:00:00 2001 From: Mike Hawkins Date: Sat, 7 Jun 2008 19:27:48 +0000 Subject: [PATCH] #SELECTABLE - don't exclude simfiles if they use 3.9+ exclusive settings in this tag --- stepmania/src/NotesLoaderSM.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stepmania/src/NotesLoaderSM.cpp b/stepmania/src/NotesLoaderSM.cpp index 598fbce6b3..ac0a184502 100644 --- a/stepmania/src/NotesLoaderSM.cpp +++ b/stepmania/src/NotesLoaderSM.cpp @@ -418,6 +418,12 @@ bool SMLoader::LoadFromSMFile( const RString &sPath, Song &out, bool bFromCache out.m_SelectionDisplay = out.SHOW_ALWAYS; else if(!stricmp(sParams[1],"NO")) out.m_SelectionDisplay = out.SHOW_NEVER; + /* The following two cases are just fixes to make sure simfiles that used 3.9+ features + * are not excluded here */ + else if(!stricmp(sParams[1],"ES") || !stricmp(sParams[1],"OMES")) + out.m_SelectionDisplay = out.SHOW_ALWAYS; + else if( atoi(sParams[1]) > 0 ) + out.m_SelectionDisplay = out.SHOW_ALWAYS; else LOG->UserLog( "Song file", sPath, "has an unknown #SELECTABLE value, \"%s\"; ignored.", sParams[1].c_str() ); }