summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-15 14:37:33 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-15 14:37:33 +0300
commit06a19f3327736f67907f012bd21bb1c0a21bb468 (patch)
tree73a958f3bee9997db99ebb54e4c949bc521abda5 /src/resources/map/maplayer.cpp
parent11a02af132567b6ef709ce0b20113375dcad5db7 (diff)
downloadmanaplus-06a19f3327736f67907f012bd21bb1c0a21bb468.tar.gz
manaplus-06a19f3327736f67907f012bd21bb1c0a21bb468.tar.bz2
manaplus-06a19f3327736f67907f012bd21bb1c0a21bb468.tar.xz
manaplus-06a19f3327736f67907f012bd21bb1c0a21bb468.zip
Add missing cost to map and maplayer.
Diffstat (limited to 'src/resources/map/maplayer.cpp')
-rw-r--r--src/resources/map/maplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/map/maplayer.cpp b/src/resources/map/maplayer.cpp
index 5f3c29586..83df5d580 100644
--- a/src/resources/map/maplayer.cpp
+++ b/src/resources/map/maplayer.cpp
@@ -158,7 +158,7 @@ void MapLayer::draw(Graphics *const graphics,
BLOCK_END("MapLayer::draw")
}
-void MapLayer::drawSDL(Graphics *const graphics)
+void MapLayer::drawSDL(Graphics *const graphics) const
{
BLOCK_START("MapLayer::drawSDL")
MapRows::const_iterator rit = mTempRows.begin();
@@ -337,7 +337,7 @@ void MapLayer::updateOGL(Graphics *const graphics,
BLOCK_END("MapLayer::updateOGL")
}
-void MapLayer::drawOGL(Graphics *const graphics)
+void MapLayer::drawOGL(Graphics *const graphics) const
{
BLOCK_START("MapLayer::drawOGL")
MapRows::const_iterator rit = mTempRows.begin();