Fix warnings that names passed to Name_PlayerNameCompletion is not const

This commit is contained in:
Zack Middleton 2016-05-09 10:41:58 -05:00
parent d8afce6805
commit 8b458e5457
4 changed files with 4 additions and 4 deletions

View file

@ -1806,7 +1806,7 @@ static void CL_CompletePlayerName( char *args, int argNum )
if( argNum == 2 )
{
char names[MAX_CLIENTS][MAX_NAME_LENGTH];
char *namesPtr[MAX_CLIENTS];
const char *namesPtr[MAX_CLIENTS];
int i;
int clientCount;
int nameCount;