X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fscreens.c;h=7b25e79f2103cd77611c5345e9925fd8453ad05b;hp=175bae6f743fd39421c5939cff067d5329c8b7cf;hb=9c5174d87844a91c6f608006d57e36063a5324d4;hpb=be5c5ba78b4d464fc85076e194fc8d03b77d3f14 diff --git a/src/screens.c b/src/screens.c index 175bae6f..7b25e79f 100644 --- a/src/screens.c +++ b/src/screens.c @@ -8497,16 +8497,8 @@ static void CreateScreenMenubuttons(void) menubutton_info[i].get_gadget_position(&x, &y, id); - if (menubutton_info[i].screen_mask == SCREEN_MASK_MAIN_HAS_SOLUTION) - { - width = graphic_info[menubutton_info[i].gfx_pressed].width; - height = graphic_info[menubutton_info[i].gfx_pressed].height; - } - else - { - width = SC_MENUBUTTON_XSIZE; - height = SC_MENUBUTTON_YSIZE; - } + width = graphic_info[menubutton_info[i].gfx_pressed].width; + height = graphic_info[menubutton_info[i].gfx_pressed].height; gfx_unpressed = menubutton_info[i].gfx_unpressed; gfx_pressed = menubutton_info[i].gfx_pressed;