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
@@ -3699,7 +3699,7 @@ qboolean Com_PlayerNameToFieldString( char *str, int length, const char *name )
|
||||
return qtrue;
|
||||
}
|
||||
|
||||
void Field_CompletePlayerName( char **names, int nameCount )
|
||||
void Field_CompletePlayerName( const char **names, int nameCount )
|
||||
{
|
||||
qboolean whitespace;
|
||||
|
||||
|
||||
@@ -762,7 +762,7 @@ void Field_CompleteFilename( const char *dir,
|
||||
const char *ext, qboolean stripExt, qboolean allowNonPureFilesOnDisk );
|
||||
void Field_CompleteCommand( char *cmd,
|
||||
qboolean doCommands, qboolean doCvars );
|
||||
void Field_CompletePlayerName( char **names, int count );
|
||||
void Field_CompletePlayerName( const char **names, int count );
|
||||
|
||||
/*
|
||||
==============================================================
|
||||
|
||||
Reference in new issue
Block a user