Skip to content

Commit db6a983

Browse files
committed
engine: fix windows build( windows must die )
1 parent c970f28 commit db6a983

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

engine/modelloader.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -5449,8 +5449,8 @@ bool CModelLoader::Map_IsValid( char const *pMapFile, bool bQuiet /* = false */
54495449
V_strcpy_safe( szMapFile, szMapName360 );
54505450
}
54515451

5452-
bool bHaveBspFormatInPath = strcasestr(szMapFile, ".bsp");
5453-
bool bHaveMapsInPath = strcasestr(szMapFile, "maps/");
5452+
bool bHaveBspFormatInPath = strstr(szMapFile, ".bsp");
5453+
bool bHaveMapsInPath = strstr(szMapFile, "maps/");
54545454

54555455
if( !bHaveMapsInPath )
54565456
snprintf(szMapFile, sizeof(szMapFile), "maps/%s", pMapFile);

0 commit comments

Comments
 (0)