1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-12-18 12:55:25 +01:00

SAO limits: Allow SAOs to exist outside the set 'mapgen limit'

This commit is contained in:
paramat
2018-02-20 19:32:24 +00:00
committed by SmallJoker
parent c683e050d4
commit 8aaf526730
6 changed files with 5 additions and 50 deletions

View File

@@ -1378,11 +1378,6 @@ s16 ServerMap::getWaterLevel()
return getMapgenParams()->water_level;
}
bool ServerMap::saoPositionOverLimit(const v3f &p)
{
return getMapgenParams()->saoPosOverLimit(p);
}
bool ServerMap::blockpos_over_mapgen_limit(v3s16 p)
{
const s16 mapgen_limit_bp = rangelim(