summaryrefslogtreecommitdiff
path: root/src/tool
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/tool
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/tool')
-rw-r--r--src/tool/mapcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool/mapcache.c b/src/tool/mapcache.c
index f782331ca..deec27c4c 100644
--- a/src/tool/mapcache.c
+++ b/src/tool/mapcache.c
@@ -171,7 +171,7 @@ void cache_map(char *name, struct map_data *m)
len = (unsigned long)m->xs*(unsigned long)m->ys*2;
write_buf = (unsigned char *)aMalloc(len);
// Compress the cells and get the compressed length
- encode_zip(write_buf, &len, m->cells, m->xs*m->ys);
+ compress(write_buf, &len, m->cells, m->xs*m->ys);
// Fill the map header
strncpy(info.name, name, MAP_NAME_LENGTH);