mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fix occasional errors related to SV_FindIndex
Some maps (and mods) declare many sounds, sounds with the same name would be present more than once because the case was taken into account
This commit is contained in:
parent
8a8ac2e3d1
commit
2c738fa28e
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ int SV_FindIndex( const char *name, int start, int max, qboolean create ) {
|
|||
if( !s || !s[ 0 ] ) {
|
||||
break;
|
||||
}
|
||||
if( !strcmp( s, name ) ) {
|
||||
if( !Q_stricmp( s, name ) ) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue