allow setting preferences from theme metrics. static.ini is deprecated.
This commit is contained in:
@@ -1104,6 +1104,12 @@ int main(int argc, char* argv[])
|
||||
/* Set up the theme and announcer, and switch to the last game type. */
|
||||
ReadGamePrefsFromDisk( true );
|
||||
|
||||
{
|
||||
CString sSection = "Preferences";
|
||||
GetCommandlineArgument( "Type", &sSection );
|
||||
THEME->LoadPreferencesFromSection( sSection );
|
||||
}
|
||||
|
||||
{
|
||||
/* Now that THEME is loaded, load the icon for the current theme into the
|
||||
* loading window. */
|
||||
|
||||
Reference in New Issue
Block a user