From b70873e046fffd57bb91b63d3809b6a46fad4c84 Mon Sep 17 00:00:00 2001 From: TheMadSword <bdetdbigfiles@gmail.com> Date: Thu, 7 May 2015 22:55:15 -0400 Subject: [PATCH] Changed buffer size for games with ChatSayText='yes', tested in CSS&CSGO w/ adding the kv in engine.cs*.txt --- core/HalfLife2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/HalfLife2.cpp b/core/HalfLife2.cpp index d52bc6fa..4c854f9b 100644 --- a/core/HalfLife2.cpp +++ b/core/HalfLife2.cpp @@ -498,7 +498,7 @@ bool CHalfLife2::TextMsg(int client, int dest, const char *msg) /* Use SayText user message instead */ if (chat_saytext != NULL && strcmp(chat_saytext, "yes") == 0) { - char buffer[192]; + char buffer[253]; UTIL_Format(buffer, sizeof(buffer), "%s\1\n", msg); #if SOURCE_ENGINE == SE_DOTA