mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 03:56:20 +00:00
AGS: fix all_buttons_disabled check condition
completes commit c77989f2603cc1ff6d8ca27bf62668b16707bcb6
This commit is contained in:
parent
6c8e783e4a
commit
2bcaa19756
@ -1993,7 +1993,7 @@ void draw_gui_and_overlays() {
|
||||
|
||||
// If not adding gui controls as textures, simply move the resulting sprlist to render
|
||||
if (!draw_controls_as_textures ||
|
||||
(_G(all_buttons_disabled) && (GUI::Options.DisabledStyle == kGuiDis_Blackout))) {
|
||||
(_G(all_buttons_disabled >= 0) && (GUI::Options.DisabledStyle == kGuiDis_Blackout))) {
|
||||
draw_sprite_list(false);
|
||||
put_sprite_list_on_screen(false);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user