Fixed the renewal mapcache

Fixes #5396

Reverts 9eeeb09

Thanks to @nubspixel and @aleos89
This commit is contained in:
Lemongrass3110 2020-12-07 02:16:44 +01:00
parent 13fb193f05
commit dade413935
2 changed files with 0 additions and 3 deletions

Binary file not shown.

View File

@ -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