From 77d43dcefbbfbcbaf2b1cd1f5da2017673c1b5dc Mon Sep 17 00:00:00 2001 From: ai4rei Date: Sun, 1 May 2011 07:26:09 +0000 Subject: * 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 --- src/tool/mapcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tool') 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); -- cgit v1.2.3-60-g2f50