Skip to content

Commit 5920a8c

Browse files
committed
Anchor extended HUD when using status bar too
1 parent a33c844 commit 5920a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/st_new.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ static void drawLevelStats()
812812
std::string line;
813813
const int LINE_SPACING = V_LineHeight() + 1;
814814
int font_offset = 0;
815-
unsigned int x = R_StatusBarVisible() ? 2 : (text_ax + 10), y = R_StatusBarVisible() ? statusBarY() + 1 : 44;
815+
unsigned int x = R_StatusBarVisible() ? (text_ax + 2) : (text_ax + 10), y = R_StatusBarVisible() ? statusBarY() + 1 : 44;
816816

817817
if (hud_extendedinfo == 1 || hud_extendedinfo == 3)
818818
{

0 commit comments

Comments
 (0)