From 5969c61e54adb744bdc6994c1f881d3c5df7bd9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bend=C3=ADk?= Date: Sat, 24 Nov 2012 18:43:48 +0100 Subject: [PATCH] Removed hard size limit. --- TileGenerator.cpp | 3 --- TileGenerator.h | 5 ----- 2 files changed, 8 deletions(-) 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 */