From 7504cdcfbf1d4fffae93041878c5d66d035b019c Mon Sep 17 00:00:00 2001 From: paramat Date: Thu, 8 Oct 2015 05:17:25 +0100 Subject: Mapgen: Use mapgen-specific names for constants in headers Update copyright years in all mapgens Add myself to copyright notices in mgv5 and mgv7 --- src/mapgen_v5.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mapgen_v5.cpp') 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 +Copyright (C) 2010-2015 kwolekr, Ryan Kwolek +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); -- cgit v1.2.3