X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.c;h=83b61d9c54e2c490e26422356a2b5be61b35c407;hb=24b118cd473bba91a99ae088e3cfed19cea9b7b7;hp=67c870083e2d4ee6456d0900a6e36c432a56a474;hpb=073fb8edb944e8547b3d0e4b102bb30b40671674;p=rocksndiamonds.git diff --git a/src/tools.c b/src/tools.c index 67c87008..83b61d9c 100644 --- a/src/tools.c +++ b/src/tools.c @@ -1122,7 +1122,8 @@ Bitmap *getGlobalBorderBitmapFromStatus(int status) int graphic = (status == GAME_MODE_MAIN || status == GAME_MODE_PSEUDO_TYPENAME ? IMG_GLOBAL_BORDER_MAIN : - status == GAME_MODE_SCORES ? IMG_GLOBAL_BORDER_SCORES : + status == GAME_MODE_SCORES || + status == GAME_MODE_SCOREINFO ? IMG_GLOBAL_BORDER_SCORES : status == GAME_MODE_EDITOR ? IMG_GLOBAL_BORDER_EDITOR : status == GAME_MODE_PLAYING ? IMG_GLOBAL_BORDER_PLAYING : IMG_GLOBAL_BORDER); @@ -9739,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];