mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-12-22 17:01:14 +01:00
engine: client: fix usermessage being removed because of case-sensitivity (message names are case-insensitive when transferred from server to client)
This commit is contained in:
parent
7f2ebd1b5e
commit
fdcf267fe3
@ -976,7 +976,7 @@ static void CL_ClearUserMessage( char *pszName, int svc_num )
|
||||
int i;
|
||||
|
||||
for( i = 0; i < MAX_USER_MESSAGES && clgame.msg[i].name[0]; i++ )
|
||||
if( ( clgame.msg[i].number == svc_num ) && Q_strcmp( clgame.msg[i].name, pszName ) )
|
||||
if( ( clgame.msg[i].number == svc_num ) && Q_stricmp( clgame.msg[i].name, pszName ) )
|
||||
clgame.msg[i].number = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user