diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-28 21:34:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-28 21:34:28 +0300 |
commit | 8d276b3f5707035600c051d1746697cf7d815140 (patch) | |
tree | b94a9b87ace1cd3638b322607fb54afdfc4c6279 /src/imageparticle.cpp | |
parent | 5ae7168e1f30efa4fd61c155eaecd55ce83bea14 (diff) | |
download | manaplus-8d276b3f5707035600c051d1746697cf7d815140.tar.gz manaplus-8d276b3f5707035600c051d1746697cf7d815140.tar.bz2 manaplus-8d276b3f5707035600c051d1746697cf7d815140.tar.xz manaplus-8d276b3f5707035600c051d1746697cf7d815140.zip |
improve other files.
Diffstat (limited to 'src/imageparticle.cpp')
-rw-r--r-- | src/imageparticle.cpp | 2 |
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) |