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/imagesprite.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/imagesprite.cpp')
-rw-r--r-- | src/imagesprite.cpp | 3 |
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; } |