Split *Options::FromString into FromString and FromOneModString.
Check for invalid mod names when loading a course by checking whether the mod is a valid PlayerOption or a valid SongOption. Previously, SongOption mods were being flagged as errors by PlayerOptions.
This commit is contained in:
@@ -381,7 +381,7 @@ void CatalogXml::Save( LoadingWindow *loading_window )
|
||||
{
|
||||
PlayerOptions po;
|
||||
RString s = *iter;
|
||||
po.FromString( s, false );
|
||||
po.FromString( s );
|
||||
vector<RString> v;
|
||||
po.GetLocalizedMods( v );
|
||||
if( v.empty() )
|
||||
|
||||
Reference in New Issue
Block a user