diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-06 18:45:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-06 19:04:03 +0300 |
commit | eab637f57db36a104815217a432416d852d141a6 (patch) | |
tree | 53e747c467b57e7dc8950096293642876c5976b0 /src/resources/map/map.h | |
parent | 1d563a171844af47aa013519618ad018d2b194ea (diff) | |
download | plus-eab637f57db36a104815217a432416d852d141a6.tar.gz plus-eab637f57db36a104815217a432416d852d141a6.tar.bz2 plus-eab637f57db36a104815217a432416d852d141a6.tar.xz plus-eab637f57db36a104815217a432416d852d141a6.zip |
Report in map reader if loaded tilesets not included into atlases.
Diffstat (limited to 'src/resources/map/map.h')
-rw-r--r-- | src/resources/map/map.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/map/map.h b/src/resources/map/map.h index 99e5002a7..c658b9b30 100644 --- a/src/resources/map/map.h +++ b/src/resources/map/map.h @@ -375,6 +375,9 @@ class Map final : public Properties, std::string getCounterName() const override final { return mName; } + bool haveAtlas() const + { return mAtlas != nullptr; } + protected: friend class Actor; friend class Minimap; |