summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-27 23:32:12 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-27 23:32:12 +0300
commitee0e11ec941fd0847cd24464d960605147a20c61 (patch)
treef0d7e3cb89bcba7828816c38b5ebdab608c0a9ed /src/being/being.cpp
parentc87612abbb3c926a57e051ee5940791c6882037e (diff)
downloadmv-ee0e11ec941fd0847cd24464d960605147a20c61.tar.gz
mv-ee0e11ec941fd0847cd24464d960605147a20c61.tar.bz2
mv-ee0e11ec941fd0847cd24464d960605147a20c61.tar.xz
mv-ee0e11ec941fd0847cd24464d960605147a20c61.zip
Remove default parameters from particleengine.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp8
1 files changed, 4 insertions, 4 deletions
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);
}