mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: client: simplify strings operation.
This commit is contained in:
parent
0d5cd89144
commit
f4fb8b4ac2
@ -1727,7 +1727,8 @@ static int GAME_EXPORT pfnClientCmd( const char *szCmdString )
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// will exec later
|
// will exec later
|
||||||
Q_strncat( host.deferred_cmd, va( "%s\n", szCmdString ), sizeof( host.deferred_cmd ));
|
Q_strncat( host.deferred_cmd, szCmdString, sizeof( host.deferred_cmd ));
|
||||||
|
Q_strncat( host.deferred_cmd, "\n", sizeof( host.deferred_cmd ));
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user