From c78f67dcc0879441b4806c44f48fa87bc96aa01c Mon Sep 17 00:00:00 2001 From: worktycho Date: Mon, 9 Dec 2013 14:05:32 +0000 Subject: [PATCH] Fixed warning unchecked enum value at Chunk.cpp line 841 --- src/Chunk.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Chunk.cpp b/src/Chunk.cpp index 4386ffcb8..9c195fdf8 100644 --- a/src/Chunk.cpp +++ b/src/Chunk.cpp @@ -1,4 +1,3 @@ - #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #ifndef _WIN32 @@ -908,8 +907,11 @@ void cChunk::ApplyWeatherToTop() } break; } // case (snowy biomes) - // TODO: Rainy biomes should check for farmland and cauldrons + default: + { + break; + } } // switch (biome) }