summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WorldStorage.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-19 14:53:41 +0200
committermadmaxoft <github@xoft.cz>2014-07-19 14:53:41 +0200
commit00c524519ef6c7ceaf4ac91307617cfd65d7cf21 (patch)
tree3587ecc98aada0ce36da33e50a1d460c17129b3e /src/WorldStorage/WorldStorage.cpp
parentMerge pull request #1214 from mc-server/anti-glob (diff)
downloadcuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar
cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.gz
cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.bz2
cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.lz
cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.xz
cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.zst
cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.zip
Diffstat (limited to 'src/WorldStorage/WorldStorage.cpp')
-rw-r--r--src/WorldStorage/WorldStorage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WorldStorage/WorldStorage.cpp b/src/WorldStorage/WorldStorage.cpp
index 155aa6b14..d0b2acf3b 100644
--- a/src/WorldStorage/WorldStorage.cpp
+++ b/src/WorldStorage/WorldStorage.cpp
@@ -163,7 +163,7 @@ void cWorldStorage::QueueSaveChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ)
void cWorldStorage::UnqueueLoad(int a_ChunkX, int a_ChunkY, int a_ChunkZ)
{
- m_LoadQueue.Remove(sChunkLoad(a_ChunkX, a_ChunkY, a_ChunkZ,true));
+ m_LoadQueue.Remove(sChunkLoad(a_ChunkX, a_ChunkY, a_ChunkZ, true));
}
@@ -182,8 +182,8 @@ void cWorldStorage::UnqueueSave(const cChunkCoords & a_Chunk)
void cWorldStorage::InitSchemas(int a_StorageCompressionFactor)
{
// The first schema added is considered the default
- m_Schemas.push_back(new cWSSAnvil (m_World,a_StorageCompressionFactor));
- m_Schemas.push_back(new cWSSCompact (m_World,a_StorageCompressionFactor));
+ m_Schemas.push_back(new cWSSAnvil (m_World, a_StorageCompressionFactor));
+ m_Schemas.push_back(new cWSSCompact (m_World, a_StorageCompressionFactor));
m_Schemas.push_back(new cWSSForgetful(m_World));
// Add new schemas here