aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen/mapgen_valleys.cpp
diff options
context:
space:
mode:
authorLNJ <lnj@kaidan.im>2020-04-04 15:52:41 +0200
committerGitHub <noreply@github.com>2020-04-04 15:52:41 +0200
commit307d7376cf88f3ef30a73f4500971e3a77977068 (patch)
treefb00fc112f3ebed8b0b670f8580e8e0086c0fc56 /src/mapgen/mapgen_valleys.cpp
parentb8d29ab0aff9fd141e9b59e941c47f4b2d3d5bfc (diff)
downloadminetest-307d7376cf88f3ef30a73f4500971e3a77977068.tar.gz
minetest-307d7376cf88f3ef30a73f4500971e3a77977068.tar.bz2
minetest-307d7376cf88f3ef30a73f4500971e3a77977068.zip
Fix 'the the' typos in comments (#9554)
Diffstat (limited to 'src/mapgen/mapgen_valleys.cpp')
-rw-r--r--src/mapgen/mapgen_valleys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen/mapgen_valleys.cpp b/src/mapgen/mapgen_valleys.cpp
index 2b8703fa5..ff908b7bb 100644
--- a/src/mapgen/mapgen_valleys.cpp
+++ b/src/mapgen/mapgen_valleys.cpp
@@ -390,7 +390,7 @@ int MapgenValleys::generateTerrain()
// Rivers are placed where 'river' is negative
if (river < 0.0f) {
- // Use the the function -sqrt(1-x^2) which models a circle
+ // Use the function -sqrt(1-x^2) which models a circle
float tr = river / river_size_factor + 1.0f;
float depth = (river_depth_bed *
std::sqrt(std::fmax(0.0f, 1.0f - tr * tr)));