- use the 2d drawer's size where appropriate.
This commit is contained in:
parent
b18faacab0
commit
ce4c2be3c7
17 changed files with 116 additions and 118 deletions
|
|
@ -165,8 +165,8 @@ void DBaseStatusBar::DrawAltHUD()
|
|||
|
||||
players[consoleplayer].inventorytics = 0;
|
||||
int scale = GetUIScale(twod, hud_althudscale);
|
||||
int hudwidth = SCREENWIDTH / scale;
|
||||
int hudheight = hud_aspectscale ? int(SCREENHEIGHT / (scale*1.2)) : SCREENHEIGHT / scale;
|
||||
int hudwidth = twod->GetWidth() / scale;
|
||||
int hudheight = hud_aspectscale ? int(twod->GetHeight() / (scale*1.2)) : twod->GetHeight() / scale;
|
||||
|
||||
IFVM(AltHud, Draw)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue