Skip to content

Commit

Permalink
Hide speedometer at intermission/cutscene
Browse files Browse the repository at this point in the history
  • Loading branch information
roaming97 committed Nov 6, 2024
1 parent 20dff34 commit 452246f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Quake/gl_screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,9 @@ SCR_DrawSpeed
*/
void SCR_DrawSpeed (void)
{
if (cl.intermission || CL_InCutscene () || scr_viewsize.value >= 130)
return;

const float show_speed_interval_value = 0.05f;
static float maxspeed = 0, display_speed = -1;
static double lastrealtime = 0;
Expand Down

0 comments on commit 452246f

Please sign in to comment.