Fixed the renewal mapcache
Fixes #5396 Reverts 9eeeb09 Thanks to @nubspixel and @aleos89
This commit is contained in:
parent
13fb193f05
commit
dade413935
Binary file not shown.
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user