|
@@ -3559,6 +3559,9 @@ int map_readfromcache(struct map_data *m, char *buffer, char *decode_buffer)
|
|
for(i = 0; i < header->map_count; i++) {
|
|
for(i = 0; i < header->map_count; i++) {
|
|
info = (struct map_cache_map_info *)p;
|
|
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 )
|
|
if( strcmp(m->name, info->name) == 0 )
|
|
break; // Map found
|
|
break; // Map found
|
|
|
|
|