summaryrefslogtreecommitdiff
path: root/src/mapgen.cpp
diff options
context:
space:
mode:
authorproller <proller@github.com>2014-04-19 02:24:45 +0400
committerproller <proller@github.com>2014-04-19 02:24:45 +0400
commit4977b736e3be522a6becaabbd53d380a767a3a53 (patch)
treeced33beb6abb8abba6368e7e55a60f911478fddf /src/mapgen.cpp
parent0279f32db742f06d24a9d01c46f7d70c5e570eb2 (diff)
downloadminetest-4977b736e3be522a6becaabbd53d380a767a3a53.tar.gz
minetest-4977b736e3be522a6becaabbd53d380a767a3a53.tar.bz2
minetest-4977b736e3be522a6becaabbd53d380a767a3a53.zip
Fix warnings
Diffstat (limited to 'src/mapgen.cpp')
-rw-r--r--src/mapgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen.cpp b/src/mapgen.cpp
index 5e393901a..1a31a8bcb 100644
--- a/src/mapgen.cpp
+++ b/src/mapgen.cpp
@@ -977,7 +977,7 @@ void Mapgen::updateHeightmap(v3s16 nmin, v3s16 nmax) {
void Mapgen::updateLiquid(UniqueQueue<v3s16> *trans_liquid, v3s16 nmin, v3s16 nmax) {
- bool isliquid, wasliquid, rare;
+ bool isliquid, wasliquid;
v3s16 em = vm->m_area.getExtent();
for (s16 z = nmin.Z; z <= nmax.Z; z++) {