engine: common: con_utils: fix const qualifier discard in Con_CheckName
This commit is contained in:
parent
e664e80b27
commit
da5ec56567
|
@ -1041,7 +1041,7 @@ compare first argument with string
|
|||
*/
|
||||
static qboolean Cmd_CheckName( const char *name )
|
||||
{
|
||||
char *p = Cmd_Argv( 0 );
|
||||
const char *p = Cmd_Argv( 0 );
|
||||
|
||||
if( !Q_stricmp( p, name ))
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue