From 8a78228aba9d6137bd4499267f9e59ed3b18f3b3 Mon Sep 17 00:00:00 2001 From: qndel Date: Thu, 12 Sep 2019 09:41:51 +0200 Subject: [PATCH] [hellfire] DrawInfoBox bin exact --- Source/control.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/control.cpp b/Source/control.cpp index f103f19ae..42dd7e4a8 100644 --- a/Source/control.cpp +++ b/Source/control.cpp @@ -1611,7 +1611,11 @@ void DrawInfoBox() infoclr = COL_GOLD; strcpy(infostr, plr[pcursplr]._pName); ClearPanel(); +#ifdef HELLFIRE + sprintf(tempstr, "%s, Level : %i", ClassStrTbl[plr[pcursplr]._pClass], plr[pcursplr]._pLevel); +#else sprintf(tempstr, "Level : %i", plr[pcursplr]._pLevel); +#endif AddPanelString(tempstr, TRUE); sprintf(tempstr, "Hit Points %i of %i", plr[pcursplr]._pHitPoints >> 6, plr[pcursplr]._pMaxHP >> 6); AddPanelString(tempstr, TRUE);