summaryrefslogtreecommitdiff
path: root/src/resources/map/map.h
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/map/map.h
parent1740b281aa32ba2c30a2a6203f7748af6a21fd39 (diff)
downloadmv-b1753d59caa299c668b9c269e87f96c46e0ab33a.tar.gz
mv-b1753d59caa299c668b9c269e87f96c46e0ab33a.tar.bz2
mv-b1753d59caa299c668b9c269e87f96c46e0ab33a.tar.xz
mv-b1753d59caa299c668b9c269e87f96c46e0ab33a.zip
Add player wall collision type (5).
Diffstat (limited to 'src/resources/map/map.h')
-rw-r--r--src/resources/map/map.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/map/map.h b/src/resources/map/map.h
index c658b9b30..5abc9c964 100644
--- a/src/resources/map/map.h
+++ b/src/resources/map/map.h
@@ -77,7 +77,8 @@ class Map final : public Properties,
COLLISION_AIR = 2, // air units can walk
COLLISION_WATER = 3, // water units can walk
COLLISION_GROUNDTOP = 4, // no collision (chair, bed, etc)
- COLLISION_MAX = 5 // count index
+ COLLISION_PLAYER_WALL = 5, // full collision for player
+ COLLISION_MAX = 6 // count index
};
/**