mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Use Q_stricmp macro
This commit is contained in:
parent
dac63ee5ef
commit
2675fca219
@ -157,9 +157,9 @@ studiohdr_t* CMDLCache::FindUncachedMDL(CMDLCache* cache, MDLHandle_t handle, st
|
||||
size_t nFileNameLen = strlen(szModelName);
|
||||
|
||||
if (static_cast<int>(nFileNameLen) < 5 ||
|
||||
(_stricmp(&szModelName[nFileNameLen - 5], ".rmdl") != 0) &&
|
||||
(_stricmp(&szModelName[nFileNameLen - 5], ".rrig") != 0) &&
|
||||
(_stricmp(&szModelName[nFileNameLen - 5], ".rpak") != 0))
|
||||
(Q_stricmp(&szModelName[nFileNameLen - 5], ".rmdl") != 0) &&
|
||||
(Q_stricmp(&szModelName[nFileNameLen - 5], ".rrig") != 0) &&
|
||||
(Q_stricmp(&szModelName[nFileNameLen - 5], ".rpak") != 0))
|
||||
{
|
||||
pStudioHdr = GetErrorModel();
|
||||
if (!IsKnownBadModel(handle))
|
||||
|
Loading…
x
Reference in New Issue
Block a user