(svn r3159) Remove the read-only variable _no_button_sound
authortron
Wed, 09 Nov 2005 11:32:15 +0000
changeset 2621 2bacc2e9c68f
parent 2620 3693073fef99
child 2622 73167d7e30c7
(svn r3159) Remove the read-only variable _no_button_sound
gui.h
main_gui.c
--- a/gui.h	Wed Nov 09 09:16:08 2005 +0000
+++ b/gui.h	Wed Nov 09 11:32:15 2005 +0000
@@ -146,7 +146,6 @@
 VARDEF byte _construct_mode;
 VARDEF byte _station_show_coverage;
 VARDEF PlaceProc *_place_proc;
-VARDEF bool _no_button_sound;
 
 /* vehicle_gui.c */
 void InitializeGUI(void);
--- a/main_gui.c	Wed Nov 09 09:16:08 2005 +0000
+++ b/main_gui.c	Wed Nov 09 11:32:15 2005 +0000
@@ -127,7 +127,7 @@
 	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) {