(svn r3159) Remove the read-only variable _no_button_sound

This commit is contained in:
tron
2005-11-09 11:32:15 +00:00
parent d6e462dfca
commit d431d15b34
2 changed files with 1 additions and 2 deletions

View File

@@ -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) {