From: Holger Schemel Date: Tue, 8 Dec 2015 15:36:14 +0000 (+0100) Subject: fixed redrawing doors in main menu after title screens X-Git-Tag: 4.0.0.0-rc1~111 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=e26e3f7d6874ffc7c399649944ca6be55c1f7368;p=rocksndiamonds.git fixed redrawing doors in main menu after title screens --- diff --git a/src/tools.c b/src/tools.c index 0e030f7b..cda45dea 100644 --- a/src/tools.c +++ b/src/tools.c @@ -875,7 +875,8 @@ static void RedrawGlobalBorderIfNeeded() return; // copy current draw buffer to later copy back areas that have not changed - BlitBitmap(backbuffer, bitmap_db_store, 0, 0, WIN_XSIZE, WIN_YSIZE, 0, 0); + if (game_status_last != GAME_MODE_TITLE) + BlitBitmap(backbuffer, bitmap_db_store, 0, 0, WIN_XSIZE, WIN_YSIZE, 0, 0); if (CheckIfGlobalBorderRedrawIsNeeded()) {