summaryrefslogtreecommitdiff
path: root/src/mapgen_v5.cpp
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2015-10-08 05:17:25 +0100
committerparamat <mat.gregory@virginmedia.com>2015-10-09 05:51:47 +0100
commit7504cdcfbf1d4fffae93041878c5d66d035b019c (patch)
tree22bb6fc36d7aca042d08840a808d78d5b91e02ca /src/mapgen_v5.cpp
parent706e7cebeada1f3f1f060de8a4c6f1127f4209ad (diff)
downloadminetest-7504cdcfbf1d4fffae93041878c5d66d035b019c.tar.gz
minetest-7504cdcfbf1d4fffae93041878c5d66d035b019c.tar.bz2
minetest-7504cdcfbf1d4fffae93041878c5d66d035b019c.zip
Mapgen: Use mapgen-specific names for constants in headers
Update copyright years in all mapgens Add myself to copyright notices in mgv5 and mgv7
Diffstat (limited to 'src/mapgen_v5.cpp')
-rw-r--r--src/mapgen_v5.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mapgen_v5.cpp b/src/mapgen_v5.cpp
index 1e5e5dbf0..10e9f5e65 100644
--- a/src/mapgen_v5.cpp
+++ b/src/mapgen_v5.cpp
@@ -1,6 +1,7 @@
/*
Minetest
-Copyright (C) 2010-2013 kwolekr, Ryan Kwolek <kwolekr@minetest.net>
+Copyright (C) 2010-2015 kwolekr, Ryan Kwolek <kwolekr@minetest.net>
+Copyright (C) 2010-2015 paramat, Matt Gregory
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
@@ -527,7 +528,7 @@ void MapgenV5::generateCaves(int max_stone_y)
}
}
- if (node_max.Y > LARGE_CAVE_DEPTH)
+ if (node_max.Y > MGV5_LARGE_CAVE_DEPTH)
return;
PseudoRandom ps(blockseed + 21343);