call base ScreenOptions::Init after handling forceallplayers

This commit is contained in:
Glenn Maynard
2005-07-15 02:27:37 +00:00
parent 5c7fb961e4
commit b5d68fc123
+3 -2
View File
@@ -33,8 +33,6 @@ ScreenOptionsMaster::ScreenOptionsMaster( CString sClassName ):
void ScreenOptionsMaster::Init()
{
ScreenOptions::Init();
CStringArray asLineNames;
split( LINE_NAMES, ",", asLineNames );
if( asLineNames.empty() )
@@ -69,6 +67,9 @@ void ScreenOptionsMaster::Init()
RageException::Throw( "Unknown flag \"%s\"", sFlag.c_str() );
}
// Call this after enabling players, if any.
ScreenOptions::Init();
vector<OptionRowDefinition> OptionRowDefs;
OptionRowDefs.resize( asLineNames.size() );
OptionRowHandlers.resize( asLineNames.size() );