Browse Source

engine: fix windows build( windows must die )

pull/209/head
nillerusr 1 year ago
parent
commit
db6a9839fe
  1. 4
      engine/modelloader.cpp

4
engine/modelloader.cpp

@ -5449,8 +5449,8 @@ bool CModelLoader::Map_IsValid( char const *pMapFile, bool bQuiet /* = false */ @@ -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…
Cancel
Save