fixed redrawing doors in main menu after title screens
authorHolger Schemel <info@artsoft.org>
Tue, 8 Dec 2015 15:36:14 +0000 (16:36 +0100)
committerHolger Schemel <info@artsoft.org>
Tue, 8 Dec 2015 15:36:14 +0000 (16:36 +0100)
src/tools.c

index 0e030f7bb9da94839d8983af84c264c11f42054e..cda45dea6bed338ecc11510ab8c54e3a09f9052e 100644 (file)
@@ -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())
   {