summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r--src/company_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp
index e5c62ea2f..0abd8c6fb 100644
--- a/src/company_cmd.cpp
+++ b/src/company_cmd.cpp
@@ -725,9 +725,9 @@ void CompaniesYearlyLoop()
ShowCompanyFinances(_local_company);
c = Company::Get(_local_company);
if (c->num_valid_stat_ent > 5 && c->old_economy[0].performance_history < c->old_economy[4].performance_history) {
- SndPlayFx(SND_01_BAD_YEAR);
+ if (_settings_client.sound.new_year) SndPlayFx(SND_01_BAD_YEAR);
} else {
- SndPlayFx(SND_00_GOOD_YEAR);
+ if (_settings_client.sound.new_year) SndPlayFx(SND_00_GOOD_YEAR);
}
}
}