diff options
Diffstat (limited to '')
-rw-r--r-- | source/cWorld.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cWorld.cpp b/source/cWorld.cpp index de79d5d76..4f03ff87e 100644 --- a/source/cWorld.cpp +++ b/source/cWorld.cpp @@ -1006,9 +1006,9 @@ void cWorld::ChunkDataGenerated(int a_ChunkX, int a_ChunkY, int a_ChunkZ, const -void cWorld::GetChunkData(int a_ChunkX, int a_ChunkY, int a_ChunkZ, cChunkDataCallback * a_Callback)
+bool cWorld::GetChunkData(int a_ChunkX, int a_ChunkY, int a_ChunkZ, cChunkDataCallback & a_Callback)
{
- m_ChunkMap->GetChunkData(a_ChunkX, a_ChunkY, a_ChunkZ, a_Callback);
+ return m_ChunkMap->GetChunkData(a_ChunkX, a_ChunkY, a_ChunkZ, a_Callback);
}
|