diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-14 17:18:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-14 17:18:04 +0300 |
commit | 36de2c64d6bba077775360c9c0d681f0a096ffc3 (patch) | |
tree | e505ba9337b4eabb73d4d37cdc15d6e7c1f91727 /src/imagesprite.cpp | |
parent | d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1 (diff) | |
download | mv-36de2c64d6bba077775360c9c0d681f0a096ffc3.tar.gz mv-36de2c64d6bba077775360c9c0d681f0a096ffc3.tar.bz2 mv-36de2c64d6bba077775360c9c0d681f0a096ffc3.tar.xz mv-36de2c64d6bba077775360c9c0d681f0a096ffc3.zip |
chnage return values for draw functions from bool to void.
Diffstat (limited to 'src/imagesprite.cpp')
-rw-r--r-- | src/imagesprite.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/imagesprite.cpp b/src/imagesprite.cpp index 5e9cc9463..71592566c 100644 --- a/src/imagesprite.cpp +++ b/src/imagesprite.cpp @@ -48,14 +48,13 @@ ImageSprite::~ImageSprite() } } -bool ImageSprite::draw(Graphics *const graphics, +void ImageSprite::draw(Graphics *const graphics, const int posX, const int posY) const { FUNC_BLOCK("ImageSprite::draw", 1) if (!mImage) - return false; + return; mImage->setAlpha(mAlpha); DRAW_IMAGE(graphics, mImage, posX, posY); - return true; } |