diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-08 01:13:31 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-08 01:13:31 +0100 |
commit | 4c2490ed1770630edab1b5bba60217dede2cf1fd (patch) | |
tree | b94ece25aac75d87c894c643a429334718ed250c /src | |
parent | reordered initalisation order at src/Generating/Cave.h line 73 (diff) | |
download | cuberite-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 'src')
-rw-r--r-- | src/Generating/DistortedHeightmap.cpp | 6 |
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"); } |