summaryrefslogtreecommitdiffstats
path: root/src/Generating/DistortedHeightmap.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-12-10 21:55:57 +0100
committerMattes D <github@xoft.cz>2013-12-10 21:55:57 +0100
commit60ca21b59877b5402c6fb6cc108283cbd4f986fd (patch)
treeb7fd3d91bd4376d537e49f7a18023ff8fabfc449 /src/Generating/DistortedHeightmap.cpp
parentMerge pull request #412 from mc-server/fixes (diff)
parentadded abort to DeadlockDetector to generate core dumps on failure (diff)
downloadcuberite-60ca21b59877b5402c6fb6cc108283cbd4f986fd.tar
cuberite-60ca21b59877b5402c6fb6cc108283cbd4f986fd.tar.gz
cuberite-60ca21b59877b5402c6fb6cc108283cbd4f986fd.tar.bz2
cuberite-60ca21b59877b5402c6fb6cc108283cbd4f986fd.tar.lz
cuberite-60ca21b59877b5402c6fb6cc108283cbd4f986fd.tar.xz
cuberite-60ca21b59877b5402c6fb6cc108283cbd4f986fd.tar.zst
cuberite-60ca21b59877b5402c6fb6cc108283cbd4f986fd.zip
Diffstat (limited to 'src/Generating/DistortedHeightmap.cpp')
-rw-r--r--src/Generating/DistortedHeightmap.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Generating/DistortedHeightmap.cpp b/src/Generating/DistortedHeightmap.cpp
index a61d79bec..c32a3bf43 100644
--- a/src/Generating/DistortedHeightmap.cpp
+++ b/src/Generating/DistortedHeightmap.cpp
@@ -737,9 +737,11 @@ void cDistortedHeightmap::ComposeColumn(cChunkDesc & a_ChunkDesc, int a_RelX, in
FillColumnMesa(a_ChunkDesc, a_RelX, a_RelZ);
return;
}
-
+ default:
+ ASSERT(!"Unhandled biome");
+ return;
} // switch (Biome)
- ASSERT(!"Unhandled biome");
+ ASSERT(!"Unexpected fallthrough");
}