Skip to content

Commit 5969c61

Browse files
committed
Removed hard size limit.
1 parent cff944b commit 5969c61

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

TileGenerator.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,6 @@ void TileGenerator::loadBlocks()
248248
if(result == SQLITE_ROW) {
249249
sqlite3_int64 blocknum = sqlite3_column_int64(statement, 0);
250250
BlockPos pos = decodeBlockPos(blocknum);
251-
if (pos.x > SectorXMax || pos.x < SectorXMin || pos.z > SectorZMax || pos.z < SectorZMin) {
252-
continue;
253-
}
254251
if (pos.x < m_xMin) {
255252
m_xMin = pos.x;
256253
}

TileGenerator.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,6 @@ class TileGenerator
133133

134134
int m_blockAirId;
135135
int m_blockIgnoreId;
136-
137-
static const int SectorXMin = -1500/16;
138-
static const int SectorXMax = 1500/16;
139-
static const int SectorZMin = -1500/16;
140-
static const int SectorZMax = 1500/16;
141136
}; /* ----- end of class TileGenerator ----- */
142137

143138
#endif /* end of include guard: TILEGENERATOR_H_JJNUCARH */

0 commit comments

Comments
 (0)