summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-08 01:13:31 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-08 01:13:31 +0100
commit4c2490ed1770630edab1b5bba60217dede2cf1fd (patch)
treeb94ece25aac75d87c894c643a429334718ed250c /src
parentreordered initalisation order at src/Generating/Cave.h line 73 (diff)
downloadcuberite-4c2490ed1770630edab1b5bba60217dede2cf1fd.tar
cuberite-4c2490ed1770630edab1b5bba60217dede2cf1fd.tar.gz
cuberite-4c2490ed1770630edab1b5bba60217dede2cf1fd.tar.bz2
cuberite-4c2490ed1770630edab1b5bba60217dede2cf1fd.tar.lz
cuberite-4c2490ed1770630edab1b5bba60217dede2cf1fd.tar.xz
cuberite-4c2490ed1770630edab1b5bba60217dede2cf1fd.tar.zst
cuberite-4c2490ed1770630edab1b5bba60217dede2cf1fd.zip
Diffstat (limited to '')
-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");
}