engine: fix windows build( windows must die )
This commit is contained in:
parent
5b9b74b87c
commit
c55c94320f
1 changed files with 2 additions and 2 deletions
|
@ -5449,8 +5449,8 @@ bool CModelLoader::Map_IsValid( char const *pMapFile, bool bQuiet /* = false */
|
||||||
V_strcpy_safe( szMapFile, szMapName360 );
|
V_strcpy_safe( szMapFile, szMapName360 );
|
||||||
}
|
}
|
||||||
|
|
||||||
bool bHaveBspFormatInPath = strcasestr(szMapFile, ".bsp");
|
bool bHaveBspFormatInPath = strstr(szMapFile, ".bsp");
|
||||||
bool bHaveMapsInPath = strcasestr(szMapFile, "maps/");
|
bool bHaveMapsInPath = strstr(szMapFile, "maps/");
|
||||||
|
|
||||||
if( !bHaveMapsInPath )
|
if( !bHaveMapsInPath )
|
||||||
snprintf(szMapFile, sizeof(szMapFile), "maps/%s", pMapFile);
|
snprintf(szMapFile, sizeof(szMapFile), "maps/%s", pMapFile);
|
||||||
|
|
Loading…
Reference in a new issue