From d63b092e02f03f28fbb85252dd36fde1fad69db3 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 7 Mar 2012 11:31:54 +0000 Subject: No need to reset zlib (copypasta error) git-svn-id: http://mc-server.googlecode.com/svn/trunk@381 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/WSSAnvil.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/source/WSSAnvil.cpp b/source/WSSAnvil.cpp index ebec8bdc6..8b0bbbae8 100644 --- a/source/WSSAnvil.cpp +++ b/source/WSSAnvil.cpp @@ -143,7 +143,6 @@ bool cWSSAnvil::LoadChunkFromData(const cChunkCoords & a_Chunk, const AString & strm.avail_out = sizeof(Uncompressed); strm.next_in = (Bytef *)a_Data.data(); strm.avail_in = a_Data.size(); - inflateReset(&strm); int res = inflate(&strm, Z_FINISH); inflateEnd(&strm); if (res != Z_STREAM_END) -- cgit v1.2.3