mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-14 16:01:52 +00:00
CLIENT: HUD_PlayerDebugInfo: add ultrawide offset
This commit is contained in:
parent
a9356369ac
commit
35dc066868
1 changed files with 1 additions and 0 deletions
|
@ -1957,6 +1957,7 @@ void(float width, float height) HUD_PlayerDebugInfo =
|
|||
|
||||
string str = sprintf("Speed: %3.1f qu/s", lastups);
|
||||
vector pos = [cvar("scr_playerdebuginfo_x"), cvar("scr_playerdebuginfo_y")];
|
||||
pos.x += GetUltraWideOffset();
|
||||
Draw_String(pos, str, [12, 12], [1, 1, 1], 1, 0);
|
||||
|
||||
if (cvar("scr_playerdebuginfo") >= 2)
|
||||
|
|
Loading…
Reference in a new issue