From 2675fca219614831b32f1b8ccfa3961b5da6deeb Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Tue, 11 Oct 2022 01:24:08 +0200 Subject: [PATCH] Use Q_stricmp macro --- r5dev/datacache/mdlcache.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/r5dev/datacache/mdlcache.cpp b/r5dev/datacache/mdlcache.cpp index 91e0f5d7..d2fa460f 100644 --- a/r5dev/datacache/mdlcache.cpp +++ b/r5dev/datacache/mdlcache.cpp @@ -157,9 +157,9 @@ studiohdr_t* CMDLCache::FindUncachedMDL(CMDLCache* cache, MDLHandle_t handle, st size_t nFileNameLen = strlen(szModelName); if (static_cast(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))