summaryrefslogtreecommitdiffstats
path: root/source/WorldStorage.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/WorldStorage.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/WorldStorage.h b/source/WorldStorage.h
index 9c3a38771..689d5f1ef 100644
--- a/source/WorldStorage.h
+++ b/source/WorldStorage.h
@@ -100,6 +100,9 @@ public:
void QueueLoadChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, bool a_Generate); // Queues the chunk for loading; if not loaded, the chunk will be generated if a_Generate is true
void QueueSaveChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ);
+ /// Loads the chunk specified; returns true on success, false on failure
+ bool LoadChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ);
+
void UnqueueLoad(int a_ChunkX, int a_ChunkY, int a_ChunkZ);
void UnqueueSave(const cChunkCoords & a_Chunk);
@@ -150,9 +153,6 @@ protected:
/// Saves one chunk from the queue (if any queued); returns true if there are more chunks in the save queue
bool SaveOneChunk(void);
-
- /// Loads the chunk specified; returns true on success, false on failure
- bool LoadChunk(const cChunkCoords & a_Chunk);
} ;