(svn r19213) -Change: warn if a fallback sound set is loaded and tell the user where to download a proper sound setd

This commit is contained in:
yexo
2010-02-22 20:19:17 +00:00
parent 2eea7da8e6
commit 11a878512e
2 changed files with 7 additions and 0 deletions

View File

@@ -1054,6 +1054,10 @@ void SwitchToMode(SwitchMode new_mode)
case SM_MENU: // Switch to game intro menu
LoadIntroGame();
if (BaseSounds::ini_set == NULL && BaseSounds::GetUsedSet()->fallback) {
ShowErrorMessage(STR_WARNING_FALLBACK_SOUNDSET, INVALID_STRING_ID, 0, 0, true);
BaseSounds::ini_set = strdup(BaseSounds::GetUsedSet()->name);
}
break;
case SM_SAVE: // Save game