diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-02-20 17:24:13 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2021-02-20 18:46:02 +0100 |
commit | 81e299f00ce3df587166ccc94f5997555cce5210 (patch) | |
tree | d5954c7f5756b67b2c6c1f7c6f2b635f5337eef2 /src/Generating/StructGen.cpp | |
parent | Clang 7? (diff) | |
download | cuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar cuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar.gz cuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar.bz2 cuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar.lz cuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar.xz cuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar.zst cuberite-81e299f00ce3df587166ccc94f5997555cce5210.zip |
Diffstat (limited to 'src/Generating/StructGen.cpp')
-rw-r--r-- | src/Generating/StructGen.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Generating/StructGen.cpp b/src/Generating/StructGen.cpp index d9620b19d..9fa413e2d 100644 --- a/src/Generating/StructGen.cpp +++ b/src/Generating/StructGen.cpp @@ -287,8 +287,7 @@ double cStructGenTrees::GetNumTrees( case biVariant: case biNumVariantBiomes: { - ASSERT(!"Invalid biome in cStructGenTrees::GetNumTrees"); - return 0.0; + break; } } UNREACHABLE("Unsupported biome"); |