diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-08 01:22:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-08 01:22:43 +0300 |
commit | 34a83475636164cf43551d9ec83ec30da5a7e7f2 (patch) | |
tree | c6b3e22f789422e06a96c2ca87dd94fc61eb1dd1 /src/particle | |
parent | af4fcff19a986990d58c50c62bc498690c8293b8 (diff) | |
download | plus-34a83475636164cf43551d9ec83ec30da5a7e7f2.tar.gz plus-34a83475636164cf43551d9ec83ec30da5a7e7f2.tar.bz2 plus-34a83475636164cf43551d9ec83ec30da5a7e7f2.tar.xz plus-34a83475636164cf43551d9ec83ec30da5a7e7f2.zip |
Replace size() to empty() where is possible
Diffstat (limited to 'src/particle')
-rw-r--r-- | src/particle/imageparticle.cpp | 1 | ||||
-rw-r--r-- | src/particle/textparticle.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/particle/imageparticle.cpp b/src/particle/imageparticle.cpp index 7e4a6105a..859fc6a15 100644 --- a/src/particle/imageparticle.cpp +++ b/src/particle/imageparticle.cpp @@ -89,5 +89,4 @@ void ImageParticle::draw(Graphics *restrict const graphics, mImage->setAlpha(alphafactor); graphics->drawImage(mImage, screenX, screenY); - return; } diff --git a/src/particle/textparticle.cpp b/src/particle/textparticle.cpp index cf4da05f4..dd25e5945 100644 --- a/src/particle/textparticle.cpp +++ b/src/particle/textparticle.cpp @@ -93,5 +93,4 @@ void TextParticle::draw(Graphics *restrict const graphics, mText, screenX - mTextWidth, screenY); } BLOCK_END("TextParticle::draw") - return; } |