Revert "csgo: enable SayText + raise msg limits (#1118)" (#1209)

This reverts commit 4a8e0799bd.
This commit is contained in:
Asher Baker 2020-03-08 13:27:13 +00:00 committed by GitHub
parent 48c3a9f2fa
commit ecad8f25a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 14 deletions

View File

@ -513,11 +513,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)
{
#if SOURCE_ENGINE == SE_CSGO
char buffer[2022];
#else
char buffer[253];
#endif
ke::SafeSprintf(buffer, sizeof(buffer), "%s\1\n", msg);
#if SOURCE_ENGINE == SE_CSGO

View File

@ -329,11 +329,7 @@ static cell_t PrintToChat(IPluginContext *pContext, const cell_t *params)
g_SourceMod.SetGlobalTarget(client);
#if SOURCE_ENGINE == SE_CSGO
char buffer[2023];
#else
char buffer[254];
#endif
{
DetectExceptions eh(pContext);
@ -401,12 +397,7 @@ static cell_t PrintHintText(IPluginContext *pContext, const cell_t *params)
g_SourceMod.SetGlobalTarget(client);
#if SOURCE_ENGINE == SE_CSGO
char buffer[0xFFFF];
#else
char buffer[254];
#endif
{
DetectExceptions eh(pContext);
g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 2);

View File

@ -200,7 +200,6 @@
"Keys"
{
"HudRadioMenuMsg" "ShowMenu"
"ChatSayText" "yes"
}
}