engine: client: cl_main: fixed compilation error
This commit is contained in:
parent
1944f48516
commit
f726793711
1 changed files with 1 additions and 3 deletions
|
@ -1284,6 +1284,7 @@ void CL_Rcon_f( void )
|
||||||
{
|
{
|
||||||
char message[1024];
|
char message[1024];
|
||||||
netadr_t to;
|
netadr_t to;
|
||||||
|
string command;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if( !COM_CheckString( rcon_client_password->string ))
|
if( !COM_CheckString( rcon_client_password->string ))
|
||||||
|
@ -1306,10 +1307,7 @@ void CL_Rcon_f( void )
|
||||||
|
|
||||||
for( i = 1; i < Cmd_Argc(); i++ )
|
for( i = 1; i < Cmd_Argc(); i++ )
|
||||||
{
|
{
|
||||||
string commmand;
|
|
||||||
|
|
||||||
Cmd_Escape( command, Cmd_Argv( i ), sizeof( command ));
|
Cmd_Escape( command, Cmd_Argv( i ), sizeof( command ));
|
||||||
|
|
||||||
Q_strcat( message, command );
|
Q_strcat( message, command );
|
||||||
Q_strcat( message, " " );
|
Q_strcat( message, " " );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue