summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-13 14:06:05 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-13 14:06:05 +0000
commit952043f3fc80c16ef45f68defb3a9f6a764ba0d7 (patch)
treef2919dfd29c372b7a24b9ae7074959a6f7694ad1 /src/map/map.c
parent74b5927330e0be611ff14cc7bcebff9f2c536f59 (diff)
downloadhercules-952043f3fc80c16ef45f68defb3a9f6a764ba0d7.tar.gz
hercules-952043f3fc80c16ef45f68defb3a9f6a764ba0d7.tar.bz2
hercules-952043f3fc80c16ef45f68defb3a9f6a764ba0d7.tar.xz
hercules-952043f3fc80c16ef45f68defb3a9f6a764ba0d7.zip
- Oppositions can't be made during WoE now.
- Fixed a few compiler warnings from VC - Commented out the Homunculus Skills<->Status Change link which was causing some memory corruptions. - git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7127 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c3
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;
}
}