diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-22 15:09:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-22 15:09:44 +0300 |
commit | 0220dc10be5aefc627b73c39084ef551cc880fa4 (patch) | |
tree | a8a648526daa0ed3783875eb0240dfa60b38a3a4 /src/being/being.cpp | |
parent | 6040ca74072be2087c4ddf91d303f4d73187dec7 (diff) | |
download | manaverse-0220dc10be5aefc627b73c39084ef551cc880fa4.tar.gz manaverse-0220dc10be5aefc627b73c39084ef551cc880fa4.tar.bz2 manaverse-0220dc10be5aefc627b73c39084ef551cc880fa4.tar.xz manaverse-0220dc10be5aefc627b73c39084ef551cc880fa4.zip |
fix code style.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 7e690edf5..65bcc5782 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -124,6 +124,7 @@ Being::Being(const int id, const Type type, const uint16_t subtype, mSpriteColors(), mSpriteIDs(), mSpriteColorsIds(), + mSpriteParticles(), mGuilds(), mParty(nullptr), mActionTime(0), @@ -3169,8 +3170,11 @@ void Being::recreateItemParticles() ParticleInfo *const pi = (*it).second; if (pi && !pi->files.empty()) { - FOR_EACH (std::vector<Particle*>::const_iterator, itp, pi->particles) + FOR_EACH (std::vector<Particle*>::const_iterator, + itp, pi->particles) + { mChildParticleEffects.removeLocally(*itp); + } FOR_EACH (std::vector<std::string>::const_iterator, str, pi->files) { |