cl_showspeed no longer requires sv_cheats 1

This commit is contained in:
pierow 2021-01-04 13:32:36 -05:00
parent ba32308dbc
commit dd3691c877

View file

@ -2791,7 +2791,7 @@ void AvHHud::RenderCommonUI()
if (!mSteamUIActive)
{
if (gHUD.GetServerVariableFloat("sv_cheats") != 0 ) {
//if (gHUD.GetServerVariableFloat("sv_cheats") != 0 ) {
static int maxSpeed=0, maxGroundSpeed=0, maxClimb=0, maxDive=0;
if ( CVAR_GET_FLOAT("cl_showspeed") != 0) {
@ -2827,7 +2827,7 @@ void AvHHud::RenderCommonUI()
maxSpeed=0, maxGroundSpeed=0, maxClimb=0, maxDive=0;
speedMeasured = false;
}
}
//}
DrawInfoLocationText();
DrawHUDStructureNotification();