diff --git a/TileGenerator.cpp b/TileGenerator.cpp index bd0c89d..9feabd6 100644 --- a/TileGenerator.cpp +++ b/TileGenerator.cpp @@ -248,9 +248,6 @@ void TileGenerator::loadBlocks() if(result == SQLITE_ROW) { sqlite3_int64 blocknum = sqlite3_column_int64(statement, 0); BlockPos pos = decodeBlockPos(blocknum); - if (pos.x > SectorXMax || pos.x < SectorXMin || pos.z > SectorZMax || pos.z < SectorZMin) { - continue; - } if (pos.x < m_xMin) { m_xMin = pos.x; } diff --git a/TileGenerator.h b/TileGenerator.h index 75b9253..acd9dbb 100644 --- a/TileGenerator.h +++ b/TileGenerator.h @@ -133,11 +133,6 @@ private: int m_blockAirId; int m_blockIgnoreId; - - static const int SectorXMin = -1500/16; - static const int SectorXMax = 1500/16; - static const int SectorZMin = -1500/16; - static const int SectorZMax = 1500/16; }; /* ----- end of class TileGenerator ----- */ #endif /* end of include guard: TILEGENERATOR_H_JJNUCARH */