mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- SW: fixed positioning of the inventory bar.
This commit is contained in:
parent
5b78f84bd7
commit
6c36852ceb
1 changed files with 8 additions and 8 deletions
|
@ -1007,29 +1007,29 @@ public:
|
||||||
if (hud_size == Hud_Nothing)
|
if (hud_size == Hud_Nothing)
|
||||||
{
|
{
|
||||||
align = DI_SCREEN_RIGHT_BOTTOM;
|
align = DI_SCREEN_RIGHT_BOTTOM;
|
||||||
inv_x = -210 * hud_scalefactor;
|
inv_x = -210;
|
||||||
inv_y = -28 * hud_scalefactor;
|
inv_y = -28;
|
||||||
PrintLevelStats(2);
|
PrintLevelStats(2);
|
||||||
}
|
}
|
||||||
else if (hud_size == Hud_full)
|
else if (hud_size == Hud_full)
|
||||||
{
|
{
|
||||||
align = DI_SCREEN_CENTER_BOTTOM;
|
align = DI_SCREEN_CENTER_BOTTOM;
|
||||||
inv_x = -80 * hud_scalefactor;
|
inv_x = -80;
|
||||||
inv_y = -40 * hud_scalefactor;
|
inv_y = -40;
|
||||||
DrawHUD2();
|
DrawHUD2();
|
||||||
}
|
}
|
||||||
else if (hud_size == Hud_Mini)
|
else if (hud_size == Hud_Mini)
|
||||||
{
|
{
|
||||||
align = DI_SCREEN_RIGHT_BOTTOM;
|
align = DI_SCREEN_RIGHT_BOTTOM;
|
||||||
inv_x = -210 * hud_scalefactor;
|
inv_x = -210;
|
||||||
inv_y = -28 * hud_scalefactor;
|
inv_y = -28;
|
||||||
DrawHUD1();
|
DrawHUD1();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
align = 0;
|
align = 0;
|
||||||
inv_x = 80 * hud_scalefactor;
|
inv_x = 80;
|
||||||
inv_y = 130 * hud_scalefactor;
|
inv_y = 130;
|
||||||
DrawStatusBar();
|
DrawStatusBar();
|
||||||
}
|
}
|
||||||
DrawInventory(inv_x, inv_y, align);
|
DrawInventory(inv_x, inv_y, align);
|
||||||
|
|
Loading…
Reference in a new issue