From 07f3c824443fd0c544292da2ce50c51b358a9cbd Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Thu, 29 Dec 2022 23:33:09 +0300 Subject: [PATCH] Fix map loading background Integrated interface bar area remained visible during map loading. --- src/map.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/map.cc b/src/map.cc index ba5cd03..5890d6a 100644 --- a/src/map.cc +++ b/src/map.cc @@ -828,7 +828,12 @@ static int mapLoad(File* stream) int rc = 0; - windowFill(gIsoWindow, 0, 0, _scr_size.right - _scr_size.left + 1, _scr_size.bottom - _scr_size.top - 99, _colorTable[0]); + windowFill(gIsoWindow, + 0, + 0, + windowGetWidth(gIsoWindow), + windowGetHeight(gIsoWindow), + _colorTable[0]); windowRefresh(gIsoWindow); animationStop(); scriptsDisable();