Skip to content

Commit 66964c8

Browse files
authored
Merge pull request Velaron#265 from Vladislav4KZ/fix-hudsaytext-cvar
Fix broken hud_saytext cvar
2 parents e7bf917 + 7f92645 commit 66964c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cl_dll/saytext.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ int CHudSayText :: Draw( float flTime )
9999
int y = Y_START;
100100

101101
//if ( ( gViewPort && gViewPort->AllowedToPrintText() == FALSE) || !m_HUD_saytext->value )
102-
//return 1;
102+
if ( !m_HUD_saytext->value )
103+
return 1;
103104

104105
// make sure the scrolltime is within reasonable bounds, to guard against the clock being reset
105106
flScrollTime = min( flScrollTime, flTime + m_HUD_saytext_time->value );

0 commit comments

Comments
 (0)