From 4c2490ed1770630edab1b5bba60217dede2cf1fd Mon Sep 17 00:00:00 2001 From: Tycho Bickerstaff Date: Sun, 8 Dec 2013 00:13:31 +0000 Subject: moved deafult action into deafult clause at src/Generating/DistortedHeightmap.cpp line 741 --- src/Generating/DistortedHeightmap.cpp | 6 ++++-- 1 file 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"); } -- cgit v1.2.3