summaryrefslogtreecommitdiff
path: root/src/mapgen_math.cpp
diff options
context:
space:
mode:
authorproller <proller@github.com>2013-07-29 00:10:44 +0400
committerproller <proller@github.com>2013-07-29 00:11:33 +0400
commit174285f29878c7171c84848ae9282a9efa546bd6 (patch)
tree0751e49e9d373159063ffa0996d7ec7b22eaa714 /src/mapgen_math.cpp
parent037e84d377e91f37026cb5814145bdceac135534 (diff)
downloadminetest-174285f29878c7171c84848ae9282a9efa546bd6.tar.gz
minetest-174285f29878c7171c84848ae9282a9efa546bd6.tar.bz2
minetest-174285f29878c7171c84848ae9282a9efa546bd6.zip
Warnings fix
Diffstat (limited to 'src/mapgen_math.cpp')
-rw-r--r--src/mapgen_math.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen_math.cpp b/src/mapgen_math.cpp
index f2b17896d..7748895b5 100644
--- a/src/mapgen_math.cpp
+++ b/src/mapgen_math.cpp
@@ -255,7 +255,7 @@ int MapgenMath::generateTerrain() {
*/
for (s16 z = node_min.Z; z <= node_max.Z; z++) {
for (s16 x = node_min.X; x <= node_max.X; x++, index++) {
- Biome *biome = bmgr->biomes[biomemap[index]];
+ //Biome *biome = bmgr->biomes[biomemap[index]];
u32 i = vm->m_area.index(x, node_min.Y, z);
for (s16 y = node_min.Y; y <= node_max.Y; y++) {
v3f vec = (v3f(x, y, z) - center) * scale ;