mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Draw sound effects and music checkboxes as disabled when appropirate
This commit is contained in:
committed by
Aaron van Geffen
parent
d4591a1492
commit
01608baeb6
@@ -1149,7 +1149,7 @@ STR_1770 :{SMALLFONT}{BLACK}Number of complete swings
|
||||
STR_1771 :{POP16}{POP16}{POP16}{POP16}{POP16}{POP16}{POP16}{POP16}{POP16}{COMMA16}
|
||||
STR_1773 :Only one on-ride photo section allowed per ride
|
||||
STR_1774 :Only one cable lift hill allowed per ride
|
||||
STR_1777 :{WINDOW_COLOUR_2}Ride music
|
||||
STR_1777 :Ride music
|
||||
STR_1778 :{STRINGID} - -
|
||||
STR_1779 :{INLINE_SPRITE}{254}{19}{00}{00} Panda costume
|
||||
STR_1780 :{INLINE_SPRITE}{255}{19}{00}{00} Tiger costume
|
||||
|
||||
@@ -1808,6 +1808,8 @@ static void window_options_invalidate(rct_window* w)
|
||||
widget_set_checkbox_value(w, WIDX_MASTER_SOUND_CHECKBOX, gConfigSound.master_sound_enabled);
|
||||
widget_set_checkbox_value(w, WIDX_MUSIC_CHECKBOX, gConfigSound.ride_music_enabled);
|
||||
widget_set_checkbox_value(w, WIDX_AUDIO_FOCUS_CHECKBOX, gConfigSound.audio_focus);
|
||||
widget_set_enabled(w, WIDX_SOUND_CHECKBOX, gConfigSound.master_sound_enabled);
|
||||
widget_set_enabled(w, WIDX_MUSIC_CHECKBOX, gConfigSound.master_sound_enabled);
|
||||
|
||||
// Initialize only on first frame, otherwise the scrollbars wont be able to be modified
|
||||
if (w->frame_no == 0)
|
||||
|
||||
Reference in New Issue
Block a user