summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-11-09 11:32:15 +0000
committertron <tron@openttd.org>2005-11-09 11:32:15 +0000
commita20b9c224013a2432034dc673db288d380025efb (patch)
treed0eebdec69a22f718ecb98fdb0b5c679434a2ee5 /main_gui.c
parent7d888a57156de9341d19154abc5bcdafadc4aa28 (diff)
downloadopenttd-a20b9c224013a2432034dc673db288d380025efb.tar.xz
(svn r3159) Remove the read-only variable _no_button_sound
Diffstat (limited to 'main_gui.c')
-rw-r--r--main_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c
index 80e4f1105..e51fcc643 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -127,7 +127,7 @@ bool HandlePlacePushButton(Window *w, int widget, CursorID cursor, int mode, Pla
if (w->disabled_state & mask)
return false;
- if (!_no_button_sound) SndPlayFx(SND_15_BEEP);
+ SndPlayFx(SND_15_BEEP);
SetWindowDirty(w);
if (w->click_state & mask) {