mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
engine: fix windows build( windows must die )
This commit is contained in:
parent
c970f28804
commit
db6a9839fe
@ -5449,8 +5449,8 @@ bool CModelLoader::Map_IsValid( char const *pMapFile, bool bQuiet /* = false */
|
||||
V_strcpy_safe( szMapFile, szMapName360 );
|
||||
}
|
||||
|
||||
bool bHaveBspFormatInPath = strcasestr(szMapFile, ".bsp");
|
||||
bool bHaveMapsInPath = strcasestr(szMapFile, "maps/");
|
||||
bool bHaveBspFormatInPath = strstr(szMapFile, ".bsp");
|
||||
bool bHaveMapsInPath = strstr(szMapFile, "maps/");
|
||||
|
||||
if( !bHaveMapsInPath )
|
||||
snprintf(szMapFile, sizeof(szMapFile), "maps/%s", pMapFile);
|
||||
|
Loading…
Reference in New Issue
Block a user