From: Holger Schemel Date: Tue, 12 Apr 2022 21:06:37 +0000 (+0200) Subject: fixed setting background image on score info page X-Git-Tag: 4.3.2.0~22 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=74550f945f0d175ed304adef5ca38f834ca56623;p=rocksndiamonds.git fixed setting background image on score info page --- diff --git a/src/screens.c b/src/screens.c index 4df8f4d9..6a0920ab 100644 --- a/src/screens.c +++ b/src/screens.c @@ -5526,8 +5526,6 @@ static void DrawScoreInfo(int entry_nr) scores.last_entry_nr = entry_nr; score_info_tape_play = FALSE; - SetMainBackgroundImageIfDefined(IMG_BACKGROUND_SCOREINFO); - UnmapAllGadgets(); FadeOut(REDRAW_FIELD); @@ -5535,6 +5533,10 @@ static void DrawScoreInfo(int entry_nr) // needed if different viewport properties defined after playing score tape ChangeViewportPropertiesIfNeeded(); + // needed if different background image defined after playing score tape + SetMainBackgroundImage(IMG_BACKGROUND_SCORES); + SetMainBackgroundImageIfDefined(IMG_BACKGROUND_SCOREINFO); + DrawScoreInfo_Content(entry_nr); // map gadgets for score info screen