Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions core/HalfLife2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 0 additions & 9 deletions core/smn_halflife.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion gamedata/core.games/common.games.txt
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@
"Keys"
{
"HudRadioMenuMsg" "ShowMenu"
"ChatSayText" "yes"
}
}

Expand Down