diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-14 16:59:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-14 16:59:21 +0300 |
commit | d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1 (patch) | |
tree | db2f8a25d466ce6aa5ca1747216156f7869a06d1 /src/maplayer.cpp | |
parent | 2851324a6847efa7ea6f556941b369e9e304dc23 (diff) | |
download | plus-d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1.tar.gz plus-d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1.tar.bz2 plus-d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1.tar.xz plus-d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1.zip |
Improve a bit separate images drawing.
Diffstat (limited to 'src/maplayer.cpp')
-rw-r--r-- | src/maplayer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/maplayer.cpp b/src/maplayer.cpp index 1f8278304..2ea850eb6 100644 --- a/src/maplayer.cpp +++ b/src/maplayer.cpp @@ -139,7 +139,7 @@ void MapLayer::draw(Graphics *const graphics, if (!c) { - graphics->drawImage(img, px, py); + DRAW_IMAGE(graphics, img, px, py); } else { @@ -455,7 +455,7 @@ void MapLayer::drawFringe(Graphics *const graphics, int startX, int startY, if (!c) { - graphics->drawImage(img, px, py); + DRAW_IMAGE(graphics, img, px, py); } else { @@ -796,7 +796,7 @@ void MapItem::draw(Graphics *const graphics, const int x, const int y, { BLOCK_START("MapItem::draw") if (mImage) - graphics->drawImage(mImage, x, y); + DRAW_IMAGE(graphics, mImage, x, y); switch (mType) { |