(svn r24846) -Add: Advanced settings to disable certain sound effects.

This commit is contained in:
frosch
2012-12-23 21:09:09 +00:00
parent 888df85a3a
commit 336a93a9d8
33 changed files with 185 additions and 100 deletions

View File

@@ -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;