diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-07 18:23:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-07 18:23:39 +0300 |
commit | b1753d59caa299c668b9c269e87f96c46e0ab33a (patch) | |
tree | d333a7de5b6e9ddde85540d5b5a87eabd747fac1 /src/resources/mapreader.cpp | |
parent | 1740b281aa32ba2c30a2a6203f7748af6a21fd39 (diff) | |
download | manaplus-b1753d59caa299c668b9c269e87f96c46e0ab33a.tar.gz manaplus-b1753d59caa299c668b9c269e87f96c46e0ab33a.tar.bz2 manaplus-b1753d59caa299c668b9c269e87f96c46e0ab33a.tar.xz manaplus-b1753d59caa299c668b9c269e87f96c46e0ab33a.zip |
Add player wall collision type (5).
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r-- | src/resources/mapreader.cpp | 3 |
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; } |