mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
K_GetTerrainForTextureName: use case insensitive search
This commit is contained in:
parent
a589b4961e
commit
9bcdc9094b
1 changed files with 1 additions and 1 deletions
|
|
@ -348,7 +348,7 @@ terrain_t *K_GetTerrainForTextureName(const char *checkName)
|
|||
{
|
||||
t_floor_t *f = &terrainFloorDefs[i];
|
||||
|
||||
if (checkHash == f->textureHash && !strncmp(checkName, f->textureName, 8))
|
||||
if (checkHash == f->textureHash && !strncasecmp(checkName, f->textureName, 8))
|
||||
{
|
||||
return K_GetTerrainByIndex(f->terrainID);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue