Host_Say: Use a local buffer instead of external one

This commit is contained in:
s1lentq 2020-12-25 19:38:11 +07:00
parent 6866339b0c
commit 1155175057

View File

@ -772,7 +772,8 @@ void Host_Say(edict_t *pEntity, BOOL teamonly)
{
if (CMD_ARGC_() >= 2)
{
p = (char *)CMD_ARGS();
Q_strlcpy(szTemp, CMD_ARGS());
p = szTemp;
}
else
{