[ZoneBuilder] Fix zlib compile error

This commit is contained in:
momo5502 2017-07-03 16:48:02 +02:00
parent 4aba6fa06d
commit 0c2c7bb7e9

View File

@ -407,12 +407,7 @@ namespace Components
}
#endif
#ifdef DEBUG
zoneBuffer = Utils::Compression::Deflate::ZLib::Compress(zoneBuffer);
#else
zoneBuffer = Utils::Compression::ZLib::Compress(zoneBuffer);
#endif
outBuffer.append(zoneBuffer);
std::string outFile = "zone/" + this->zoneName + ".ff";