mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +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)
|
||||
{
|
||||
align = DI_SCREEN_RIGHT_BOTTOM;
|
||||
inv_x = -210 * hud_scalefactor;
|
||||
inv_y = -28 * hud_scalefactor;
|
||||
inv_x = -210;
|
||||
inv_y = -28;
|
||||
PrintLevelStats(2);
|
||||
}
|
||||
else if (hud_size == Hud_full)
|
||||
{
|
||||
align = DI_SCREEN_CENTER_BOTTOM;
|
||||
inv_x = -80 * hud_scalefactor;
|
||||
inv_y = -40 * hud_scalefactor;
|
||||
inv_x = -80;
|
||||
inv_y = -40;
|
||||
DrawHUD2();
|
||||
}
|
||||
else if (hud_size == Hud_Mini)
|
||||
{
|
||||
align = DI_SCREEN_RIGHT_BOTTOM;
|
||||
inv_x = -210 * hud_scalefactor;
|
||||
inv_y = -28 * hud_scalefactor;
|
||||
inv_x = -210;
|
||||
inv_y = -28;
|
||||
DrawHUD1();
|
||||
}
|
||||
else
|
||||
{
|
||||
align = 0;
|
||||
inv_x = 80 * hud_scalefactor;
|
||||
inv_y = 130 * hud_scalefactor;
|
||||
inv_x = 80;
|
||||
inv_y = 130;
|
||||
DrawStatusBar();
|
||||
}
|
||||
DrawInventory(inv_x, inv_y, align);
|
||||
|
|
Loading…
Reference in a new issue