Browse Source

fix refreshing/drawing bottom description part

pull/4930/head
qndel 4 years ago committed by Anders Jenbo
parent
commit
02c5bea328
  1. 2
      Source/control.cpp
  2. 2
      Source/scrollrt.cpp

2
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;

2
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);

Loading…
Cancel
Save