Make cgame's tcmd use trap_SendClientCommand for "gc"

gc command was forwarded to server after if wasn't recognized locally, but let's just send straight to server.

(trap_SendConsoleCommand should of had a \n at end, but using trap_SendClientCommand makes more sense.)
This commit is contained in:
Zack Middleton 2013-09-03 18:19:48 -05:00
parent c79e0dfc25
commit 99317a9e9a

View file

@ -41,7 +41,7 @@ void CG_TargetCommand_f( void ) {
}
trap_Argv( 1, test, 4 );
trap_SendConsoleCommand( va( "gc %i %i", targetNum, atoi( test ) ) );
trap_SendClientCommand( va( "gc %i %i", targetNum, atoi( test ) ) );
}