Skip map build checks

This commit is contained in:
MrBruh committed 2026-09-28 19:11:23 +13:00
1 parent a0b2150748
commit ae7284c3ce
2 files changed
+8

No files matched your search

+4
View File
@@ -585,6 +585,9 @@ boolean cache_file_header_verify(
return FALSE;
}
#ifndef HALO_LINUX
/* (the native builds try a cache file whatever build made it, NTSC's
01.10.12.2276 included) */
if (csstrcmp(header->build, "01.01.14.2342"))
{
if (fatal)
@@ -602,6 +605,7 @@ boolean cache_file_header_verify(
return FALSE;
}
#endif
return TRUE;
}
+4
View File
@@ -1020,10 +1020,14 @@ static void cache_files_open_cache_files(
char *cache_map_name = cached_map_file_get(map_file_index)->header.name;
cached_map_file_read_header(map_file_index);
#ifndef HALO_LINUX
/* (the native builds keep a copied map whatever build made it;
the checksum below still has to match the original's) */
if (strcmp(map_file->header.build, CACHE_FILE_BUILD_STRING) != 0)
{
valid = FALSE;
}
#endif
if (cache_file_read_header_from_dvd(cache_map_name, &dvd_header) &&
map_file->header.checksum == dvd_header.checksum &&
valid)