From f98710c83e531a34f75666f7472c0f11e4d53ad9 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 26 Jun 2024 11:41:26 +0200 Subject: [PATCH] fixed broken scrollbar in hall of fame after playing with small graphics --- src/screens.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/screens.c b/src/screens.c index 1708a0e7..e52fbea6 100644 --- a/src/screens.c +++ b/src/screens.c @@ -4715,9 +4715,6 @@ static void DrawChooseTree(TreeInfo **ti_ptr) UnmapAllGadgets(); - FreeScreenGadgets(); - CreateScreenGadgets(); - if (restart_music) FadeMenuSoundsAndMusic(); @@ -4735,6 +4732,9 @@ static void DrawChooseTree(TreeInfo **ti_ptr) else if (game_status == GAME_MODE_SCORES) SetMainBackgroundImage(IMG_BACKGROUND_SCORES); + FreeScreenGadgets(); + CreateScreenGadgets(); + ClearField(); OpenDoor(GetDoorState() | DOOR_NO_DELAY | DOOR_FORCE_REDRAW); -- 2.34.1