diff options
author | paramat <paramat@users.noreply.github.com> | 2017-09-30 10:23:57 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-10-01 22:31:44 +0100 |
commit | e2afcf85ce5945a6ed08313dfed9f68d02912f73 (patch) | |
tree | 684f7f9bec103e188289fc2996b495a701651f48 /src/mg_ore.h | |
parent | 9fa78b7387ec6eb5f6e3419d37ae631085c69e1a (diff) | |
download | minetest-e2afcf85ce5945a6ed08313dfed9f68d02912f73.tar.gz minetest-e2afcf85ce5945a6ed08313dfed9f68d02912f73.tar.bz2 minetest-e2afcf85ce5945a6ed08313dfed9f68d02912f73.zip |
Stratum ore: Allow use with no noise for simple horizontal strata
If either of the 2 noise parameters are omitted the ore will occur from y_min
to y_max in a simple horizontal stratum. As this does not compute noise
performance improves, and is ideal for placing many layers.
Clean up some nearby ore documentation.
Diffstat (limited to 'src/mg_ore.h')
-rw-r--r-- | src/mg_ore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mg_ore.h b/src/mg_ore.h index 4801b152e..e715f348b 100644 --- a/src/mg_ore.h +++ b/src/mg_ore.h @@ -135,7 +135,7 @@ public: class OreStratum : public Ore { public: - static const bool NEEDS_NOISE = true; + static const bool NEEDS_NOISE = false; NoiseParams np_stratum_thickness; Noise *noise_stratum_thickness = nullptr; |