Browse Source

engine: client: cl_main: fixed compilation error

pull/2/head
SNMetamorph 3 years ago committed by a1batross
parent
commit
f726793711
  1. 4
      engine/client/cl_main.c

4
engine/client/cl_main.c

@ -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…
Cancel
Save