diff options
author | LO1ZB <andreasdaamen@web.de> | 2014-08-28 11:36:35 +0200 |
---|---|---|
committer | LO1ZB <andreasdaamen@web.de> | 2014-08-28 11:36:35 +0200 |
commit | 3c1c073714e2b0542c9a79db962b6fc9e6ddd352 (patch) | |
tree | cf8c191b1642914745944fa376ba1f2f56a95ea6 /src/WorldStorage/WSSCompact.cpp | |
parent | DungeonRooms: Fixed an off-by-one error. (diff) | |
download | cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.gz cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.bz2 cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.lz cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.xz cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.zst cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WorldStorage/WSSCompact.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WorldStorage/WSSCompact.cpp b/src/WorldStorage/WSSCompact.cpp index 58f9e3cab..6760186b2 100644 --- a/src/WorldStorage/WSSCompact.cpp +++ b/src/WorldStorage/WSSCompact.cpp @@ -980,7 +980,7 @@ bool cWSSCompact::cPAKFile::SaveChunkToData(const cChunkCoords & a_Chunk, cWorld if (!a_World->GetChunkData(a_Chunk.m_ChunkX, a_Chunk.m_ChunkZ, Serializer)) { // Chunk not valid - LOG("cWSSCompact: Trying to save chunk [%d, %d, %d] that has no data, ignoring request.", a_Chunk.m_ChunkX, a_Chunk.m_ChunkY, a_Chunk.m_ChunkZ); + LOG("cWSSCompact: Trying to save chunk [%d, %d] that has no data, ignoring request.", a_Chunk.m_ChunkX, a_Chunk.m_ChunkZ); return false; } @@ -999,7 +999,7 @@ bool cWSSCompact::cPAKFile::SaveChunkToData(const cChunkCoords & a_Chunk, cWorld int errorcode = CompressString(Data.data(), Data.size(), CompressedData, m_CompressionFactor); if (errorcode != Z_OK) { - LOGERROR("Error %i compressing data for chunk [%d, %d, %d]", errorcode, a_Chunk.m_ChunkX, a_Chunk.m_ChunkY, a_Chunk.m_ChunkZ); + LOGERROR("Error %i compressing data for chunk [%d, %d]", errorcode, a_Chunk.m_ChunkX, a_Chunk.m_ChunkZ); return false; } @@ -1010,7 +1010,7 @@ bool cWSSCompact::cPAKFile::SaveChunkToData(const cChunkCoords & a_Chunk, cWorld sChunkHeader * Header = new sChunkHeader; if (Header == NULL) { - LOGWARNING("Cannot create a new chunk header to save chunk [%d, %d, %d]", a_Chunk.m_ChunkX, a_Chunk.m_ChunkY, a_Chunk.m_ChunkZ); + LOGWARNING("Cannot create a new chunk header to save chunk [%d, %d]", a_Chunk.m_ChunkX, a_Chunk.m_ChunkZ); return false; } Header->m_CompressedSize = (int)CompressedData.size(); |