Bugfix: don't highlight air nodes.
[oweals/minetest.git] / src / mapgen.cpp
index 5e393901aa13e18b4e6ae3812e57e6e4f5d53e02..1a31a8bcb0d728f35c74266a12aaf6490bbf1476 100644 (file)
@@ -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++) {