diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-15 14:37:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-15 14:37:33 +0300 |
commit | 06a19f3327736f67907f012bd21bb1c0a21bb468 (patch) | |
tree | 73a958f3bee9997db99ebb54e4c949bc521abda5 /src/resources/map/maplayer.cpp | |
parent | 11a02af132567b6ef709ce0b20113375dcad5db7 (diff) | |
download | mv-06a19f3327736f67907f012bd21bb1c0a21bb468.tar.gz mv-06a19f3327736f67907f012bd21bb1c0a21bb468.tar.bz2 mv-06a19f3327736f67907f012bd21bb1c0a21bb468.tar.xz mv-06a19f3327736f67907f012bd21bb1c0a21bb468.zip |
Add missing cost to map and maplayer.
Diffstat (limited to 'src/resources/map/maplayer.cpp')
-rw-r--r-- | src/resources/map/maplayer.cpp | 4 |
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(); |