Fix warnings that names passed to Name_PlayerNameCompletion is not const
This commit is contained in:
1 parent
d8afce6805
commit
8b458e5457
4 files changed
+4
-4
No files matched your search
@@ -1480,7 +1480,7 @@ SV_CompletePlayerName
|
||||
static void SV_CompletePlayerName( char *args, int argNum ) {
|
||||
if( argNum == 2 ) {
|
||||
char names[MAX_CLIENTS][MAX_NAME_LENGTH];
|
||||
char *namesPtr[MAX_CLIENTS];
|
||||
const char *namesPtr[MAX_CLIENTS];
|
||||
client_t *cl;
|
||||
int i;
|
||||
int nameCount;
|
||||
|
||||
Reference in new issue
Block a user