mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
Raise max mapgen limit constant to align with mapblock size
This commit is contained in:
@@ -601,7 +601,7 @@ typedef std::vector<MapBlock*> MapBlockVect;
|
||||
|
||||
inline bool objectpos_over_limit(v3f p)
|
||||
{
|
||||
const float max_limit_bs = MAX_MAP_GENERATION_LIMIT * BS;
|
||||
const float max_limit_bs = (MAX_MAP_GENERATION_LIMIT + 0.5f) * BS;
|
||||
return p.X < -max_limit_bs ||
|
||||
p.X > max_limit_bs ||
|
||||
p.Y < -max_limit_bs ||
|
||||
|
Reference in New Issue
Block a user