diff options
author | paramat <paramat@users.noreply.github.com> | 2018-02-20 19:32:24 +0000 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2018-02-26 17:21:45 +0000 |
commit | 359a940dde0d0d85b288c8af6b10bccbd021f9c1 (patch) | |
tree | 7eda6f7869726595c25e80961e74059a5f99f91a /src/mapgen/mapgen.h | |
parent | 88a7160ad8c303e7c1cb7c3141583fab131b2dda (diff) | |
download | minetest-359a940dde0d0d85b288c8af6b10bccbd021f9c1.tar.gz minetest-359a940dde0d0d85b288c8af6b10bccbd021f9c1.tar.bz2 minetest-359a940dde0d0d85b288c8af6b10bccbd021f9c1.zip |
SAO limits: Allow SAOs to exist outside the set 'mapgen limit'
Diffstat (limited to 'src/mapgen/mapgen.h')
-rw-r--r-- | src/mapgen/mapgen.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mapgen/mapgen.h b/src/mapgen/mapgen.h index f97eabf82..6ca907573 100644 --- a/src/mapgen/mapgen.h +++ b/src/mapgen/mapgen.h @@ -139,14 +139,10 @@ struct MapgenParams { virtual void readParams(const Settings *settings); virtual void writeParams(Settings *settings) const; - bool saoPosOverLimit(const v3f &p); s32 getSpawnRangeMax(); private: void calcMapgenEdges(); - - float m_sao_limit_min = -MAX_MAP_GENERATION_LIMIT * BS; - float m_sao_limit_max = MAX_MAP_GENERATION_LIMIT * BS; bool m_mapgen_edges_calculated = false; }; |