summaryrefslogtreecommitdiff
path: root/src/tree_gui.cpp
diff options
context:
space:
mode:
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;