From 6c36852cebb92143a133d5420f74c3832c33a6a6 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 10 Dec 2020 20:20:17 +0100 Subject: [PATCH] - SW: fixed positioning of the inventory bar. --- source/sw/src/sbar.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/source/sw/src/sbar.cpp b/source/sw/src/sbar.cpp index 0a9e80466..c9cd50ba8 100644 --- a/source/sw/src/sbar.cpp +++ b/source/sw/src/sbar.cpp @@ -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);