CLIENT: HUD_PlayerDebugInfo: draw with capitals

This commit is contained in:
erysdren 2024-12-08 20:13:23 -06:00
parent 1ae4e646ba
commit a9356369ac

View file

@ -1955,18 +1955,18 @@ void(float width, float height) HUD_PlayerDebugInfo =
lastupstime = time;
}
string str = sprintf("speed: %3.1f qu/s", lastups);
string str = sprintf("Speed: %3.1f qu/s", lastups);
vector pos = [cvar("scr_playerdebuginfo_x"), cvar("scr_playerdebuginfo_y")];
Draw_String(pos, str, [12, 12], [1, 1, 1], 1, 0);
if (cvar("scr_playerdebuginfo") >= 2)
{
pos.y += 16;
str = sprintf("angles: %v", getproperty(VF_ANGLES));
str = sprintf("Angles: %v", getproperty(VF_ANGLES));
Draw_String(pos, str, [12, 12], [1, 1, 1], 1, 0);
pos.y += 16;
str = sprintf("origin: %v", getproperty(VF_ORIGIN));
str = sprintf("Origin: %v", getproperty(VF_ORIGIN));
Draw_String(pos, str, [12, 12], [1, 1, 1], 1, 0);
}
};