Skip to content

Commit

Permalink
linux fixes take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintWish committed Sep 25, 2024
1 parent f80b204 commit fe6d482
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/server/hl/sound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1595,7 +1595,7 @@ char TEXTURETYPE_Find(char *name)

for (int i = 0; i < gcTextures; i++)
{
if (!strnicmp(name, &(grgszTextureName[i][0]), CBTEXTURENAMEMAX - 1))
if (!_strnicmp(name, &(grgszTextureName[i][0]), CBTEXTURENAMEMAX - 1))
return (grgchTextureType[i]);
}

Expand Down
2 changes: 1 addition & 1 deletion src/game/shared/movement/pm_shared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ char PM_FindTextureType(char *name)
{
pivot = (left + right) / 2;

val = strnicmp(name, grgszTextureName[pivot], CBTEXTURENAMEMAX - 1);
val = _strnicmp(name, grgszTextureName[pivot], CBTEXTURENAMEMAX - 1);
if (val == 0)
{
return grgchTextureType[pivot];
Expand Down

0 comments on commit fe6d482

Please sign in to comment.