Skip to content

Commit

Permalink
engine: client: fix usermessage being removed because of case-sensiti…
Browse files Browse the repository at this point in the history
…vity (message names are case-insensitive when transferred from server to client)
  • Loading branch information
a1batross committed Dec 20, 2024
1 parent 7f2ebd1 commit fdcf267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/client/cl_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit fdcf267

Please sign in to comment.