Sfoglia il codice sorgente

Fixed the renewal mapcache

Fixes #5396

Reverts 9eeeb09

Thanks to @nubspixel and @aleos89
Lemongrass3110 4 anni fa
parent
commit
dade413935
2 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. BIN
      db/re/map_cache.dat
  2. 0 3
      src/map/map.cpp

BIN
db/re/map_cache.dat


+ 0 - 3
src/map/map.cpp

@@ -3559,9 +3559,6 @@ int map_readfromcache(struct map_data *m, char *buffer, char *decode_buffer)
 	for(i = 0; i < header->map_count; i++) {
 		info = (struct map_cache_map_info *)p;
 
-		// name exists in maps_athena.conf but not in map_cache.dat
-		if (info->name == nullptr || info->name[0] == '\0')
-			continue;
 		if( strcmp(m->name, info->name) == 0 )
 			break; // Map found