summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-05-01 07:26:09 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-05-01 07:26:09 +0000
commit77d43dcefbbfbcbaf2b1cd1f5da2017673c1b5dc (patch)
tree844a5a04a4fdb4110594507f2ed4335c8c2ee796 /src/map
parentf1fd1e277edb4eec67380e378e486fe2756dbb7e (diff)
downloadhercules-77d43dcefbbfbcbaf2b1cd1f5da2017673c1b5dc.tar.gz
hercules-77d43dcefbbfbcbaf2b1cd1f5da2017673c1b5dc.tar.bz2
hercules-77d43dcefbbfbcbaf2b1cd1f5da2017673c1b5dc.tar.xz
hercules-77d43dcefbbfbcbaf2b1cd1f5da2017673c1b5dc.zip
* Removed functions 'decode_zip' (ancient) and 'encode_zip' (from r824) from grfio. These were outdated copies of zlib's 'uncompress' and 'compress' respectively (related r1530 and r5152).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14808 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 5ee01bc6d..12c805ef3 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -2705,7 +2705,7 @@ int map_readfromcache(struct map_data *m, char *buffer, char *decode_buffer)
}
// TO-DO: Maybe handle the scenario, if the decoded buffer isn't the same size as expected? [Shinryo]
- decode_zip(decode_buffer, &size, p+sizeof(struct map_cache_map_info), info->len);
+ uncompress(decode_buffer, &size, p+sizeof(struct map_cache_map_info), info->len);
CREATE(m->cell, struct mapcell, size);