From 7f92645ec89064cd6dc87306ba830283a4081755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D1=81=D0=BB=D0=B0=D0=B2=20?= =?UTF-8?q?=D0=A1=D1=83=D1=85=D0=BE=D0=B2?= <22411953+Vladislav4KZ@users.noreply.github.com> Date: Sun, 11 Jan 2026 20:05:35 +0000 Subject: [PATCH] fix: broken hud_saytext cvar --- cl_dll/saytext.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cl_dll/saytext.cpp b/cl_dll/saytext.cpp index 0df02916..bb8cd7c8 100644 --- a/cl_dll/saytext.cpp +++ b/cl_dll/saytext.cpp @@ -99,7 +99,8 @@ int CHudSayText :: Draw( float flTime ) int y = Y_START; //if ( ( gViewPort && gViewPort->AllowedToPrintText() == FALSE) || !m_HUD_saytext->value ) - //return 1; + if ( !m_HUD_saytext->value ) + return 1; // make sure the scrolltime is within reasonable bounds, to guard against the clock being reset flScrollTime = min( flScrollTime, flTime + m_HUD_saytext_time->value );