From 452246fdfb0bd2253f7f7008141f7f939db66f64 Mon Sep 17 00:00:00 2001
From: roaming97 <roaming98a@gmail.com>
Date: Wed, 6 Nov 2024 10:55:31 -0600
Subject: [PATCH] Hide speedometer at intermission/cutscene

---
 Quake/gl_screen.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Quake/gl_screen.c b/Quake/gl_screen.c
index 753348723..11748a1fc 100644
--- a/Quake/gl_screen.c
+++ b/Quake/gl_screen.c
@@ -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;