mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-13 11:30:44 +00:00
- fixed: the statistics display didn't take the HUD's scale factor into account.
Fixes #229
This commit is contained in:
parent
a8fd2e7ec3
commit
fdd9c10a55
2 changed files with 3 additions and 3 deletions
|
@ -144,11 +144,11 @@ void DBaseStatusBar::PrintLevelStats(FLevelStats &stats)
|
|||
double spacing = stats.spacing * hud_statscale;
|
||||
if (stats.screenbottomspace < 0)
|
||||
{
|
||||
y = 200 - RelTop - spacing - 1;
|
||||
y = 200 - (RelTop - stats.screenbottomspace) * hud_scalefactor - spacing;
|
||||
}
|
||||
else
|
||||
{
|
||||
y = 200 - stats.screenbottomspace - spacing;
|
||||
y = 200 - stats.screenbottomspace * hud_scalefactor - spacing;
|
||||
}
|
||||
|
||||
double y1, y2, y3;
|
||||
|
|
|
@ -683,7 +683,7 @@ private:
|
|||
DisplayTimeLimit(pp);
|
||||
DisplayBarInventory(pp);
|
||||
DrawCompass(pp);
|
||||
PrintLevelStats(-1);
|
||||
PrintLevelStats(-3);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue