summaryrefslogtreecommitdiff
path: root/src/maplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/maplayer.h')
-rw-r--r--src/maplayer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/maplayer.h b/src/maplayer.h
index 697f52c89..dcfdb991e 100644
--- a/src/maplayer.h
+++ b/src/maplayer.h
@@ -177,8 +177,9 @@ class MapLayer final: public ConfigListener
void optionChanged(const std::string &value) override final;
- int getTileDrawWidth(const Image *img,
- const int endX, int &width) const A_WARN_UNUSED;
+ static int getTileDrawWidth(const Image *img,
+ const int endX,
+ int &width) A_WARN_UNUSED;
private:
int mX;