From: Holger Schemel Date: Tue, 12 Apr 2022 21:13:10 +0000 (+0200) Subject: fixed viewport properties for score info page X-Git-Tag: 4.3.2.0~20 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=24b118cd473bba91a99ae088e3cfed19cea9b7b7;p=rocksndiamonds.git fixed viewport properties for score info page --- diff --git a/src/tools.c b/src/tools.c index 464a4fb1..83b61d9c 100644 --- a/src/tools.c +++ b/src/tools.c @@ -9740,7 +9740,8 @@ void ChangeViewportPropertiesIfNeeded(void) { boolean use_mini_tilesize = (level.game_engine_type == GAME_ENGINE_TYPE_MM ? FALSE : setup.small_game_graphics); - int gfx_game_mode = game_status; + int gfx_game_mode = (game_status == GAME_MODE_SCOREINFO ? GAME_MODE_SCORES : + game_status); int gfx_game_mode2 = (game_status == GAME_MODE_EDITOR ? GAME_MODE_DEFAULT : game_status); struct RectWithBorder *vp_window = &viewport.window[gfx_game_mode];