diff options
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/map.c b/src/map/map.c index 7766e194c..a8672ee49 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -2671,9 +2671,8 @@ static int map_cache_write(struct map_data *m) map_cache.map[i].water_height = m->water_height; map_cache.head.filesize += len_new; map_cache.dirty = 1; - if(map_read_flag == 2) { + if(map_read_flag == 2) aFree(write_buf); - } return 0; } } |