summaryrefslogtreecommitdiff
path: root/src/resources/map/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-07-13 00:35:00 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-13 20:31:02 +0300
commit509f043983f347a33c65b0f7beee91236e622bf9 (patch)
tree082e914f5e49138171f0e056f08e8460c0562ea0 /src/resources/map/map.h
parentf06bb70e7fb4603fb5888351a7e046e710ba7ae1 (diff)
downloadmv-509f043983f347a33c65b0f7beee91236e622bf9.tar.gz
mv-509f043983f347a33c65b0f7beee91236e622bf9.tar.bz2
mv-509f043983f347a33c65b0f7beee91236e622bf9.tar.xz
mv-509f043983f347a33c65b0f7beee91236e622bf9.zip
Fix moving with mouse on tiles with height > 0.
Diffstat (limited to 'src/resources/map/map.h')
-rw-r--r--src/resources/map/map.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/map/map.h b/src/resources/map/map.h
index 30ec2d240..ea083bd99 100644
--- a/src/resources/map/map.h
+++ b/src/resources/map/map.h
@@ -331,6 +331,9 @@ class Map final : public Properties, public ConfigListener
void updateDrawLayersList();
+ bool isHeightsPresent() const
+ { return mHeights != nullptr; }
+
protected:
friend class Actor;
friend class Minimap;