summaryrefslogtreecommitdiff
path: root/src/tree_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-12-23 21:09:09 +0000
committerfrosch <frosch@openttd.org>2012-12-23 21:09:09 +0000
commit3ce8d2ce706fc14084a7d33a000d0b7a39fb19db (patch)
tree6dde407ee402de6f5a5b75059a076222e80c7c0c /src/tree_gui.cpp
parent345c3203d74b485f5f6569b87c06ad9af79422a2 (diff)
downloadopenttd-3ce8d2ce706fc14084a7d33a000d0b7a39fb19db.tar.xz
(svn r24846) -Add: Advanced settings to disable certain sound effects.
Diffstat (limited to 'src/tree_gui.cpp')
-rw-r--r--src/tree_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree_gui.cpp b/src/tree_gui.cpp
index 1991559c2..3a69da124 100644
--- a/src/tree_gui.cpp
+++ b/src/tree_gui.cpp
@@ -134,7 +134,7 @@ public:
break;
case WID_BT_MANY_RANDOM: // place trees randomly over the landscape
- SndPlayFx(SND_15_BEEP);
+ if (_settings_client.sound.confirm) SndPlayFx(SND_15_BEEP);
PlaceTreesRandomly();
MarkWholeScreenDirty();
break;