From: Holger Schemel Date: Wed, 27 Nov 2024 18:39:25 +0000 (+0100) Subject: fixed redrawing level (set) info icons when using color template X-Git-Tag: 4.4.0.0-test-4~25 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=ec4a76087ae7534bff75cec68a1d6eaf16976d28;p=rocksndiamonds.git fixed redrawing level (set) info icons when using color template --- diff --git a/src/screens.c b/src/screens.c index 11a24ddc..093a3a88 100644 --- a/src/screens.c +++ b/src/screens.c @@ -2577,7 +2577,12 @@ static void HandleMainMenu_SelectLevel(int step, int direction, SaveLevelSetup_SeriesInfo(); + // when using icon graphics with color template, icons must be redrawn for each level + UpdateScreenMenuGadgets(SCREEN_MASK_MAIN_HAS_SOLUTION, FALSE); UpdateScreenMenuGadgets(SCREEN_MASK_MAIN_HAS_SOLUTION, hasSolutionTape()); + UpdateScreenMenuGadgets(SCREEN_MASK_MAIN_HAS_LEVELSET_INFO, FALSE); + UpdateScreenMenuGadgets(SCREEN_MASK_MAIN_HAS_LEVELSET_INFO, hasLevelSetInfo(FALSE)); + UpdateScreenMenuGadgets(SCREEN_MASK_MAIN_HAS_LEVEL_INFO, FALSE); UpdateScreenMenuGadgets(SCREEN_MASK_MAIN_HAS_LEVEL_INFO, hasLevelInfo(FALSE)); // force redraw of playfield area (may be reset at this point)