summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp2
1 files changed, 2 insertions, 0 deletions
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;
}