summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-14 23:02:01 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-14 23:02:01 +0300
commite0a6848d3c0d3097bfab3126da6c4cf9bd8e1f28 (patch)
tree15f26b5db3ce8717bfc74b268dfe8db0a9742cdb /src/map.h
parent99592ffb7aa9774bd8e2f475f65c63846e01abdc (diff)
downloadplus-e0a6848d3c0d3097bfab3126da6c4cf9bd8e1f28.tar.gz
plus-e0a6848d3c0d3097bfab3126da6c4cf9bd8e1f28.tar.bz2
plus-e0a6848d3c0d3097bfab3126da6c4cf9bd8e1f28.tar.xz
plus-e0a6848d3c0d3097bfab3126da6c4cf9bd8e1f28.zip
refactor a bit adding animated tiles.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index 0917deee2..cd539de04 100644
--- a/src/map.h
+++ b/src/map.h
@@ -405,7 +405,8 @@ class Map final : public Properties, public ConfigListener
bool isCustom() const A_WARN_UNUSED
{ return mCustom; }
- std::map<int, TileAnimation*> &getTileAnimations() A_WARN_UNUSED
+ const std::map<int, TileAnimation*> &getTileAnimations()
+ const A_WARN_UNUSED
{ return mTileAnimations; }
void setAtlas(Resource *const atlas)