瀏覽代碼

Fixed the renewal mapcache

Fixes #5396

Reverts 9eeeb09

Thanks to @nubspixel and @aleos89
Lemongrass3110 4 年之前
父節點
當前提交
dade413935
共有 2 個文件被更改,包括 0 次插入3 次删除
  1. 二進制
      db/re/map_cache.dat
  2. 0 3
      src/map/map.cpp

二進制
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