ChunkMap: do not wantonly make empty chunks
- Removed calls that constructed an empty chunk, found it was invalid, and did nothing with said chunk Partially addresses #2324
This commit is contained in:
@@ -125,11 +125,6 @@ bool cMap::UpdatePixel(unsigned int a_X, unsigned int a_Z)
|
||||
ColorID PixelData;
|
||||
m_World->DoWithChunk(ChunkX, ChunkZ, [&](cChunk & a_Chunk)
|
||||
{
|
||||
if (!a_Chunk.IsValid())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (GetDimension() == dimNether)
|
||||
{
|
||||
// TODO 2014-02-22 xdot: Nether maps
|
||||
|
||||
Reference in New Issue
Block a user