diff --git a/public/crclib.c b/public/crclib.c index 1390d5d4..e7dee8f9 100644 --- a/public/crclib.c +++ b/public/crclib.c @@ -438,7 +438,10 @@ uint COM_HashKey( const char *string, uint hashSize ) unsigned char i; while(( i = *string++ )) + { + i = Q_tolower( i ); hashKey = ( hashKey << 5 ) + hashKey + ( i & 0xDF ); + } return hashKey & ( hashSize - 1 ); }