diff options
author | Mattes D <github@xoft.cz> | 2015-06-02 12:51:43 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-06-02 12:51:43 +0200 |
commit | 48c153bf53d5606e351bd180e2fd9345034f60aa (patch) | |
tree | 060d1b7203b9454eb4c6fbfe086724f383ec6899 /src/Generating | |
parent | Merge pull request #2172 from mc-server/LightingCallbacks (diff) | |
download | cuberite-48c153bf53d5606e351bd180e2fd9345034f60aa.tar cuberite-48c153bf53d5606e351bd180e2fd9345034f60aa.tar.gz cuberite-48c153bf53d5606e351bd180e2fd9345034f60aa.tar.bz2 cuberite-48c153bf53d5606e351bd180e2fd9345034f60aa.tar.lz cuberite-48c153bf53d5606e351bd180e2fd9345034f60aa.tar.xz cuberite-48c153bf53d5606e351bd180e2fd9345034f60aa.tar.zst cuberite-48c153bf53d5606e351bd180e2fd9345034f60aa.zip |
Diffstat (limited to 'src/Generating')
-rw-r--r-- | src/Generating/MineShafts.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Generating/MineShafts.cpp b/src/Generating/MineShafts.cpp index 88dade240..4ba896ef6 100644 --- a/src/Generating/MineShafts.cpp +++ b/src/Generating/MineShafts.cpp @@ -787,6 +787,13 @@ void cMineShaftCorridor::PlaceChest(cChunkDesc & a_ChunkDesc) Meta = E_META_CHEST_FACING_XP; break; } + #if !defined(__clang__) + default: + { + ASSERT(!"Unknown direction"); + return; + } + #endif } // switch (Dir) if ( |