diff options
author | frosch <frosch@openttd.org> | 2021-02-20 19:01:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-20 19:01:04 +0100 |
commit | d9b4413bc90acd862ecdd9e03c1403f5c07db481 (patch) | |
tree | 966d75796f33ca6226e267d4eb8d69f026d94508 /src/news_gui.cpp | |
parent | cb95b1d2e7cac8ec0e9abbf773ee1c08300103c9 (diff) | |
download | openttd-d9b4413bc90acd862ecdd9e03c1403f5c07db481.tar.xz |
Codechange: rename sound ids to make more sense. (#8701)
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r-- | src/news_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp index 261de56a8..74c9bbbec 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -239,7 +239,7 @@ static NewsTypeData _news_type_data[] = { NewsTypeData("news_display.production_other", 30, SND_BEGIN ), ///< NT_INDUSTRY_OTHER NewsTypeData("news_display.production_nobody", 30, SND_BEGIN ), ///< NT_INDUSTRY_NOBODY NewsTypeData("news_display.advice", 150, SND_BEGIN ), ///< NT_ADVICE - NewsTypeData("news_display.new_vehicles", 30, SND_1E_OOOOH ), ///< NT_NEW_VEHICLES + NewsTypeData("news_display.new_vehicles", 30, SND_1E_NEW_ENGINE), ///< NT_NEW_VEHICLES NewsTypeData("news_display.acceptance", 90, SND_BEGIN ), ///< NT_ACCEPTANCE NewsTypeData("news_display.subsidies", 180, SND_BEGIN ), ///< NT_SUBSIDIES NewsTypeData("news_display.general", 60, SND_BEGIN ), ///< NT_GENERAL @@ -606,7 +606,7 @@ static void ShowNewspaper(const NewsItem *ni) /** Show news item in the ticker */ static void ShowTicker(const NewsItem *ni) { - if (_settings_client.sound.news_ticker) SndPlayFx(SND_16_MORSE); + if (_settings_client.sound.news_ticker) SndPlayFx(SND_16_NEWS_TICKER); _statusbar_news_item = ni; InvalidateWindowData(WC_STATUS_BAR, 0, SBI_SHOW_TICKER); |