From df0b3aaab7fbf7410031c28d887a50fae085d3ea Mon Sep 17 00:00:00 2001 From: staphen Date: Sun, 23 Jun 2024 10:59:22 -0400 Subject: [PATCH] Ensure that network timeout info shows up in the info panel --- Source/control.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/control.cpp b/Source/control.cpp index d5c8edae2..5ff160b6f 100644 --- a/Source/control.cpp +++ b/Source/control.cpp @@ -1189,12 +1189,12 @@ void FreeControlPan() void DrawInfoBox(const Surface &out) { DrawPanelBox(out, { 177, 62, InfoBoxSize.width, InfoBoxSize.height }, GetMainPanel().position + InfoBoxTopLeft); - if (!panelflag && !trigflag && pcursinvitem == -1 && pcursstashitem == StashStruct::EmptyCell && !spselflag) { + if (!panelflag && !trigflag && pcursinvitem == -1 && pcursstashitem == StashStruct::EmptyCell && !spselflag && pcurs != CURSOR_HOURGLASS) { InfoString = StringOrView {}; InfoColor = UiFlags::ColorWhite; } Player &myPlayer = *MyPlayer; - if (spselflag || trigflag) { + if (spselflag || trigflag || pcurs == CURSOR_HOURGLASS) { InfoColor = UiFlags::ColorWhite; } else if (!myPlayer.HoldItem.isEmpty()) { if (myPlayer.HoldItem._itype == ItemType::Gold) {