summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-07 19:16:09 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-07 19:16:09 +0300
commitac8a0111677c27779b2e7effe8ffe42ea013eb57 (patch)
treeade8601cace894f6ce9d6c0833fb6fe6c700b576 /src/resources/mapreader.cpp
parentb1753d59caa299c668b9c269e87f96c46e0ab33a (diff)
downloadplus-ac8a0111677c27779b2e7effe8ffe42ea013eb57.tar.gz
plus-ac8a0111677c27779b2e7effe8ffe42ea013eb57.tar.bz2
plus-ac8a0111677c27779b2e7effe8ffe42ea013eb57.tar.xz
plus-ac8a0111677c27779b2e7effe8ffe42ea013eb57.zip
Add monster wall collision type.
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r--src/resources/mapreader.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index 51040a5e7..0b06fb455 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -578,6 +578,9 @@ inline static void setTile(Map *const map,
case Map::COLLISION_PLAYER_WALL:
map->addBlockMask(x, y, BlockType::PLAYERWALL);
break;
+ case Map::COLLISION_MONSTER_WALL:
+ map->addBlockMask(x, y, BlockType::MONSTERWALL);
+ break;
default:
break;
}