From 509f043983f347a33c65b0f7beee91236e622bf9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 13 Jul 2015 00:35:00 +0300 Subject: Fix moving with mouse on tiles with height > 0. --- src/resources/map/map.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/resources') 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; -- cgit v1.2.3-60-g2f50