From: Holger Schemel Date: Wed, 26 Jun 2024 09:41:26 +0000 (+0200) Subject: fixed broken scrollbar in hall of fame after playing with small graphics X-Git-Tag: 4.4.0.0-test-3~25 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=f98710c83e531a34f75666f7472c0f11e4d53ad9;p=rocksndiamonds.git fixed broken scrollbar in hall of fame after playing with small graphics --- 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);