#SELECTABLE - don't exclude simfiles if they use 3.9+ exclusive settings in this tag
This commit is contained in:
@@ -418,6 +418,12 @@ bool SMLoader::LoadFromSMFile( const RString &sPath, Song &out, bool bFromCache
|
|||||||
out.m_SelectionDisplay = out.SHOW_ALWAYS;
|
out.m_SelectionDisplay = out.SHOW_ALWAYS;
|
||||||
else if(!stricmp(sParams[1],"NO"))
|
else if(!stricmp(sParams[1],"NO"))
|
||||||
out.m_SelectionDisplay = out.SHOW_NEVER;
|
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
|
else
|
||||||
LOG->UserLog( "Song file", sPath, "has an unknown #SELECTABLE value, \"%s\"; ignored.", sParams[1].c_str() );
|
LOG->UserLog( "Song file", sPath, "has an unknown #SELECTABLE value, \"%s\"; ignored.", sParams[1].c_str() );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user