summaryrefslogtreecommitdiff
path: root/src/imageparticle.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-28 21:34:28 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-28 21:34:28 +0300
commit8d276b3f5707035600c051d1746697cf7d815140 (patch)
treeb94a9b87ace1cd3638b322607fb54afdfc4c6279 /src/imageparticle.cpp
parent5ae7168e1f30efa4fd61c155eaecd55ce83bea14 (diff)
downloadmv-8d276b3f5707035600c051d1746697cf7d815140.tar.gz
mv-8d276b3f5707035600c051d1746697cf7d815140.tar.bz2
mv-8d276b3f5707035600c051d1746697cf7d815140.tar.xz
mv-8d276b3f5707035600c051d1746697cf7d815140.zip
improve other files.
Diffstat (limited to 'src/imageparticle.cpp')
-rw-r--r--src/imageparticle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imageparticle.cpp b/src/imageparticle.cpp
index 31eba7333..457d66cc6 100644
--- a/src/imageparticle.cpp
+++ b/src/imageparticle.cpp
@@ -73,7 +73,7 @@ bool ImageParticle::draw(Graphics *const graphics,
const int offsetX, const int offsetY) const
{
FUNC_BLOCK("ImageParticle::draw", 1)
- if (!isAlive() || !mImage)
+ if (mAlive != ALIVE || !mImage)
return false;
const int screenX = static_cast<int>(mPos.x)