From 02c5bea328a1db64690ebdf3313d469ec5dd18c0 Mon Sep 17 00:00:00 2001 From: qndel Date: Tue, 3 May 2022 22:59:59 +0200 Subject: [PATCH] fix refreshing/drawing bottom description part --- Source/control.cpp | 2 +- Source/scrollrt.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/control.cpp b/Source/control.cpp index 3bf5adf20..4fd7e3369 100644 --- a/Source/control.cpp +++ b/Source/control.cpp @@ -845,7 +845,7 @@ void FreeControlPan() void DrawInfoBox(const Surface &out) { - DrawPanelBox(out, { 177, 62, 288, 60 }, { PANEL_X + 177, PANEL_Y + 46 }); + DrawPanelBox(out, { 177, 62, 288, 63 }, { PANEL_X + 177, PANEL_Y + 46 }); if (!panelflag && !trigflag && pcursinvitem == -1 && pcursstashitem == uint16_t(-1) && !spselflag) { InfoString.clear(); InfoColor = UiFlags::ColorWhite; diff --git a/Source/scrollrt.cpp b/Source/scrollrt.cpp index 321c90269..b2b89c1c5 100644 --- a/Source/scrollrt.cpp +++ b/Source/scrollrt.cpp @@ -1385,7 +1385,7 @@ void DrawMain(int dwHgt, bool drawDesc, bool drawHp, bool drawMana, bool drawSba DoBlitScreen(PANEL_LEFT + 204, PANEL_TOP + 5, 232, 28); } if (drawDesc) { - DoBlitScreen(PANEL_LEFT + 176, PANEL_TOP + 46, 288, 60); + DoBlitScreen(PANEL_LEFT + 176, PANEL_TOP + 46, 288, 63); } if (drawMana) { DoBlitScreen(PANEL_LEFT + 460, PANEL_TOP, 88, 72);