summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-03-06 20:59:54 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-03-07 08:09:07 +0000
commitf9a522c72db959b5d63061ed255735d0230fc7de (patch)
tree27580df342eeccd068cd7613884bccf9b8682634 /src/map.h
parent3ce39d2b497ab5356290a22b324181386af51c51 (diff)
downloadmana-f9a522c72db959b5d63061ed255735d0230fc7de.tar.gz
mana-f9a522c72db959b5d63061ed255735d0230fc7de.tar.bz2
mana-f9a522c72db959b5d63061ed255735d0230fc7de.tar.xz
mana-f9a522c72db959b5d63061ed255735d0230fc7de.zip
Fixed tile animations for CSV maps
The affected tiles were only tracked for base64-encoded layer data.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index d03570d8..ae0b07a8 100644
--- a/src/map.h
+++ b/src/map.h
@@ -93,6 +93,8 @@ class MapLayer
~MapLayer();
+ int getWidth() const { return mWidth; }
+
/**
* Set tile image, with x and y in layer coordinates.
*/