diff options
author | frosch <frosch@openttd.org> | 2012-12-23 21:09:09 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-12-23 21:09:09 +0000 |
commit | 3ce8d2ce706fc14084a7d33a000d0b7a39fb19db (patch) | |
tree | 6dde407ee402de6f5a5b75059a076222e80c7c0c /src/water_cmd.cpp | |
parent | 345c3203d74b485f5f6569b87c06ad9af79422a2 (diff) | |
download | openttd-3ce8d2ce706fc14084a7d33a000d0b7a39fb19db.tar.xz |
(svn r24846) -Add: Advanced settings to disable certain sound effects.
Diffstat (limited to 'src/water_cmd.cpp')
-rw-r--r-- | src/water_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp index 42afbabcd..580ffa4d5 100644 --- a/src/water_cmd.cpp +++ b/src/water_cmd.cpp @@ -915,7 +915,7 @@ static void FloodVehicle(Vehicle *v) SetDParam(0, pass); AddVehicleNewsItem(STR_NEWS_DISASTER_FLOOD_VEHICLE, NT_ACCIDENT, v->index); CreateEffectVehicleRel(v, 4, 4, 8, EV_EXPLOSION_LARGE); - SndPlayVehicleFx(SND_12_EXPLOSION, v); + if (_settings_client.sound.disaster) SndPlayVehicleFx(SND_12_EXPLOSION, v); } /** |