From f72679371180e8f17c163c1b3ac83fde3776e09d Mon Sep 17 00:00:00 2001 From: SNMetamorph <25657591+SNMetamorph@users.noreply.github.com> Date: Tue, 23 Nov 2021 13:01:21 +0400 Subject: [PATCH] engine: client: cl_main: fixed compilation error --- engine/client/cl_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/engine/client/cl_main.c b/engine/client/cl_main.c index 5a17bfb2..b3f8f14d 100644 --- a/engine/client/cl_main.c +++ b/engine/client/cl_main.c @@ -1284,6 +1284,7 @@ void CL_Rcon_f( void ) { char message[1024]; netadr_t to; + string command; int i; if( !COM_CheckString( rcon_client_password->string )) @@ -1306,10 +1307,7 @@ void CL_Rcon_f( void ) for( i = 1; i < Cmd_Argc(); i++ ) { - string commmand; - Cmd_Escape( command, Cmd_Argv( i ), sizeof( command )); - Q_strcat( message, command ); Q_strcat( message, " " ); }