summaryrefslogtreecommitdiff
path: root/src/maplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 12:49:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 12:49:08 +0300
commit5c3746562bafd61603c67958fc82ff097a69e3a4 (patch)
treec36e46dd4df2bc7388e7e82b6e6ae8294c4ecd02 /src/maplayer.cpp
parent60b386b1a97a052cea867dd3a4f7a9c52394b312 (diff)
downloadmanaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.gz
manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.bz2
manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.xz
manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.zip
Add missing const and static into other classes.
Diffstat (limited to 'src/maplayer.cpp')
-rw-r--r--src/maplayer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/maplayer.cpp b/src/maplayer.cpp
index 2bb7884d8..3da8ba7d9 100644
--- a/src/maplayer.cpp
+++ b/src/maplayer.cpp
@@ -548,7 +548,8 @@ void MapLayer::drawFringe(Graphics *const graphics, int startX, int startY,
}
int MapLayer::getTileDrawWidth(const Image *img,
- const int endX, int &width) const
+ const int endX,
+ int &width)
{
BLOCK_START("MapLayer::getTileDrawWidth")
const Image *const img1 = img;