summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-07 18:23:39 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-07 18:23:39 +0300
commitb1753d59caa299c668b9c269e87f96c46e0ab33a (patch)
treed333a7de5b6e9ddde85540d5b5a87eabd747fac1 /src/resources/mapreader.cpp
parent1740b281aa32ba2c30a2a6203f7748af6a21fd39 (diff)
downloadplus-b1753d59caa299c668b9c269e87f96c46e0ab33a.tar.gz
plus-b1753d59caa299c668b9c269e87f96c46e0ab33a.tar.bz2
plus-b1753d59caa299c668b9c269e87f96c46e0ab33a.tar.xz
plus-b1753d59caa299c668b9c269e87f96c46e0ab33a.zip
Add player wall collision type (5).
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 d1cf92396..51040a5e7 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -575,6 +575,9 @@ inline static void setTile(Map *const map,
case Map::COLLISION_GROUNDTOP:
map->addBlockMask(x, y, BlockType::GROUNDTOP);
break;
+ case Map::COLLISION_PLAYER_WALL:
+ map->addBlockMask(x, y, BlockType::PLAYERWALL);
+ break;
default:
break;
}