summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-02-22 20:19:17 +0000
committeryexo <yexo@openttd.org>2010-02-22 20:19:17 +0000
commitda0c4868ee276b59811a4c15b1389dc480709d17 (patch)
treed39f7c7cfd45c34a09e61082917025cb0a126343 /src/openttd.cpp
parent3b9da089e540503101efbf0115e8369c33f47fd6 (diff)
downloadopenttd-da0c4868ee276b59811a4c15b1389dc480709d17.tar.xz
(svn r19213) -Change: warn if a fallback sound set is loaded and tell the user where to download a proper sound setd
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 47f3e804a..a1559592e 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -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