mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 07:05:38 +03:00
Host_Say: Use a local buffer instead of external one
This commit is contained in:
parent
6866339b0c
commit
1155175057
@ -772,7 +772,8 @@ void Host_Say(edict_t *pEntity, BOOL teamonly)
|
|||||||
{
|
{
|
||||||
if (CMD_ARGC_() >= 2)
|
if (CMD_ARGC_() >= 2)
|
||||||
{
|
{
|
||||||
p = (char *)CMD_ARGS();
|
Q_strlcpy(szTemp, CMD_ARGS());
|
||||||
|
p = szTemp;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user