summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/WSSCompact.cpp4
-rw-r--r--source/WSSCompact.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/source/WSSCompact.cpp b/source/WSSCompact.cpp
index 8bd46dfbf..c9ae5f2f2 100644
--- a/source/WSSCompact.cpp
+++ b/source/WSSCompact.cpp
@@ -270,8 +270,8 @@ cWSSCompact::cPAKFile::cPAKFile(const AString & a_FileName, int a_LayerX, int a_
m_LayerX(a_LayerX),
m_LayerZ(a_LayerZ),
m_NumDirty(0),
- m_ChunkVersion( PAK_VERSION ), // Init with latest version
- m_PakVersion( CHUNK_VERSION )
+ m_ChunkVersion( CHUNK_VERSION ), // Init with latest version
+ m_PakVersion( PAK_VERSION )
{
cFile f;
if (!f.Open(m_FileName, cFile::fmRead))
diff --git a/source/WSSCompact.h b/source/WSSCompact.h
index c42c8c5b9..968092611 100644
--- a/source/WSSCompact.h
+++ b/source/WSSCompact.h
@@ -43,7 +43,6 @@ protected:
bool EraseChunkData(const cChunkCoords & a_Chunk);
bool SaveChunk(const cChunkCoords & a_Chunk, cWorld * a_World);
- bool LoadChunk(const cChunkCoords & a_Chunk, cWorld * a_World);
int GetLayerX(void) const {return m_LayerX; }
int GetLayerZ(void) const {return m_LayerZ; }
@@ -65,7 +64,6 @@ protected:
char m_ChunkVersion;
char m_PakVersion;
- bool LoadChunk(const cChunkCoords & a_Chunk, int a_Offset, sChunkHeader * a_Header, cWorld * a_World);
bool SaveChunkToData(const cChunkCoords & a_Chunk, cWorld * a_World); // Saves the chunk to m_DataContents, updates headers and m_NumDirty
void SynchronizeFile(void); // Writes m_DataContents along with the headers to file, resets m_NumDirty