- fixed RR's HUD positioning when the weapon bar is active.

This commit is contained in:
Christoph Oelckers 2020-08-24 00:35:04 +02:00
parent e25d1c4cda
commit c60acd7af4

View file

@ -323,8 +323,11 @@ public:
{
auto p = &ps[snum];
double h = tilesiz[BOTTOMSTATUSBAR].y * scale;
double wh = 0;
if (hud_size < Hud_Stbar) wh = tilesiz[WEAPONBAR].y * scale;
double top = 200 - h;
BeginStatusBar(320, 200, h);
BeginStatusBar(320, 200, wh + h);
DrawInventory(p, 160, 154, 0);
if (hud_size < Hud_Stbar)