From: Holger Schemel Date: Tue, 12 Apr 2022 21:45:38 +0000 (+0200) Subject: fixed background image on score info page after playing score tape X-Git-Tag: 4.3.2.0~18 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=53c672c7b132c4c0fd5715f815e2301d212ac1f6;p=rocksndiamonds.git fixed background image on score info page after playing score tape --- diff --git a/src/screens.c b/src/screens.c index 6a0920ab..5ffd3409 100644 --- a/src/screens.c +++ b/src/screens.c @@ -5533,6 +5533,10 @@ static void DrawScoreInfo(int entry_nr) // needed if different viewport properties defined after playing score tape ChangeViewportPropertiesIfNeeded(); + // set this after "ChangeViewportPropertiesIfNeeded()" (which may reset it) + SetDrawDeactivationMask(REDRAW_NONE); + SetDrawBackgroundMask(REDRAW_FIELD); + // needed if different background image defined after playing score tape SetMainBackgroundImage(IMG_BACKGROUND_SCORES); SetMainBackgroundImageIfDefined(IMG_BACKGROUND_SCOREINFO);