From 5bbb473a446399765bd6f46af90c21997902d99a Mon Sep 17 00:00:00 2001 From: pierow Date: Sat, 30 Jan 2021 20:40:15 -0500 Subject: [PATCH] cl_showspeed removed maxclimb and maxdive --- main/source/mod/AvHHudRender.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main/source/mod/AvHHudRender.cpp b/main/source/mod/AvHHudRender.cpp index 5f8ca6e5..8901da9a 100644 --- a/main/source/mod/AvHHudRender.cpp +++ b/main/source/mod/AvHHudRender.cpp @@ -2811,13 +2811,16 @@ void AvHHud::RenderShowSpeed() int speed = (int)Length(pmove->velocity); maxSpeed = max(speed, maxSpeed); - sprintf(buffer, "Speed = %d (%d) %d/%d", speed, maxSpeed, maxClimb, maxDive); + sprintf(buffer, "Speed = %d (%d)", speed, maxSpeed/*, maxClimb, maxDive*/); mFont.DrawString(10, 10, buffer, theR, theG, theB); float theGroundSpeed = sqrtf(pmove->velocity[0] * pmove->velocity[0] + pmove->velocity[1] * pmove->velocity[1]); maxGroundSpeed = max(theGroundSpeed, maxGroundSpeed); sprintf(buffer, "Ground speed = %d (%d)", (int)theGroundSpeed, maxGroundSpeed); mFont.DrawString(10, 12 + mFont.GetStringHeight(), buffer, theR, theG, theB); + + //sprintf(buffer, "vangle0= %f vangle1= %f vangle2= %f)", pmove->angles[0], pmove->angles[1], pmove->angles[2]); + //mFont.DrawString(10, 12 + mFont.GetStringHeight() * 2, buffer, theR, theG, theB); speedMeasured = true; } else if (speedMeasured == true) {