summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
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)