summaryrefslogtreecommitdiff
path: root/src/imagesprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-14 16:59:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-14 16:59:21 +0300
commitd9a77eb8ac5d507665cbf8b20f5d8187148ebfd1 (patch)
treedb2f8a25d466ce6aa5ca1747216156f7869a06d1 /src/imagesprite.cpp
parent2851324a6847efa7ea6f556941b369e9e304dc23 (diff)
downloadmv-d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1.tar.gz
mv-d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1.tar.bz2
mv-d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1.tar.xz
mv-d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1.zip
Improve a bit separate images drawing.
Diffstat (limited to 'src/imagesprite.cpp')
-rw-r--r--src/imagesprite.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/imagesprite.cpp b/src/imagesprite.cpp
index 89b33937a..5e9cc9463 100644
--- a/src/imagesprite.cpp
+++ b/src/imagesprite.cpp
@@ -56,5 +56,6 @@ bool ImageSprite::draw(Graphics *const graphics,
return false;
mImage->setAlpha(mAlpha);
- return graphics->drawImage(mImage, posX, posY);
+ DRAW_IMAGE(graphics, mImage, posX, posY);
+ return true;
}