diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-27 23:32:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-27 23:32:12 +0300 |
commit | ee0e11ec941fd0847cd24464d960605147a20c61 (patch) | |
tree | f0d7e3cb89bcba7828816c38b5ebdab608c0a9ed /src/being | |
parent | c87612abbb3c926a57e051ee5940791c6882037e (diff) | |
download | manaverse-ee0e11ec941fd0847cd24464d960605147a20c61.tar.gz manaverse-ee0e11ec941fd0847cd24464d960605147a20c61.tar.bz2 manaverse-ee0e11ec941fd0847cd24464d960605147a20c61.tar.xz manaverse-ee0e11ec941fd0847cd24464d960605147a20c61.zip |
Remove default parameters from particleengine.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/actorsprite.cpp | 2 | ||||
-rw-r--r-- | src/being/being.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp index c854c998f..2df91d041 100644 --- a/src/being/actorsprite.cpp +++ b/src/being/actorsprite.cpp @@ -489,7 +489,7 @@ void ActorSprite::setupSpriteDisplay(const SpriteDisplay &display, { FOR_EACH (StringVectCIter, itr, display.particles) { - Particle *const p = particleEngine->addEffect(*itr, 0, 0); + Particle *const p = particleEngine->addEffect(*itr, 0, 0, 0); controlAutoParticle(p); } } diff --git a/src/being/being.cpp b/src/being/being.cpp index d51b45fbd..ce89a59bd 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -5036,7 +5036,7 @@ void Being::addItemParticles(const int id, { FOR_EACH (StringVectCIter, itr, display.particles) { - Particle *const p = particleEngine->addEffect(*itr, 0, 0); + Particle *const p = particleEngine->addEffect(*itr, 0, 0, 0); controlCustomParticle(p); pi->files.push_back(*itr); pi->particles.push_back(p); @@ -5074,7 +5074,7 @@ void Being::addItemParticlesCards(const int id, { FOR_EACH (StringVectCIter, itr, display.particles) { - Particle *const p = particleEngine->addEffect(*itr, 0, 0); + Particle *const p = particleEngine->addEffect(*itr, 0, 0, 0); controlCustomParticle(p); pi->files.push_back(*itr); pi->particles.push_back(p); @@ -5088,7 +5088,7 @@ void Being::addItemParticlesCards(const int id, const SpriteDisplay &restrict display2 = info.getDisplay(); FOR_EACH (StringVectCIter, itr, display2.particles) { - Particle *const p = particleEngine->addEffect(*itr, 0, 0); + Particle *const p = particleEngine->addEffect(*itr, 0, 0, 0); controlCustomParticle(p); pi->files.push_back(*itr); pi->particles.push_back(p); @@ -5147,7 +5147,7 @@ void Being::recreateItemParticles() restrict2 FOR_EACH (STD_VECTOR<std::string>::const_iterator, str, pi->files) { Particle *const p = particleEngine->addEffect( - *str, 0, 0); + *str, 0, 0, 0); controlCustomParticle(p); pi->particles.push_back(p); } |