fix not loading correctly the Common Sounds in ScreenManager. now loads and reloads fine

This commit is contained in:
Hugo Hromic M
2004-08-21 17:20:30 +00:00
parent 56e930e1b6
commit 792af31c7a
4 changed files with 16 additions and 9 deletions
+3
View File
@@ -201,6 +201,9 @@ void ThemeManager::SwitchThemeAndLanguage( CString sThemeName, CString sLanguage
// load current theme
LoadThemeRecursive( g_vThemes, m_sCurThemeName );
// reload common sounds
if ( SCREENMAN != NULL )
SCREENMAN->ReloadCommonSounds();
CString sMetric;
for( i = 0; GetCommandlineArgument( "metric", &sMetric, i ); ++i )