mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-11-21 15:03:49 +01:00
Removed hard size limit.
This commit is contained in:
parent
cff944bd2b
commit
5969c61e54
@ -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;
|
||||
}
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user