From 964ffbb9b6ed5246b14a7d0c0d065f7d38af0912 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 27 Mar 2011 21:41:20 +0300 Subject: Fix some warnings and improve code from gcc 4.6 compilation. --- src/map.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map.cpp') diff --git a/src/map.cpp b/src/map.cpp index a33a87f67..36034cbcb 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -786,6 +786,8 @@ void Map::blockTile(int x, int y, BlockType type) mMetaTiles[tileNum].blockmask |= BLOCKMASK_MONSTER; break; default: + case BLOCKTYPE_NONE: + case NB_BLOCKTYPES: // Do nothing. break; } -- cgit v1.2.3-60-g2f50