summaryrefslogtreecommitdiff
path: root/src/resources
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/resources
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/resources')
-rw-r--r--src/resources/map/map.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp
index 56483486f..6e93c82c5 100644
--- a/src/resources/map/map.cpp
+++ b/src/resources/map/map.cpp
@@ -1109,10 +1109,12 @@ void Map::initializeParticleEffects() const restrict2
i != mParticleEffects.end();
++i)
{
+ // +++ add z for map particle effects?
Particle *const p = particleEngine->addEffect(
i->file,
i->x,
- i->y);
+ i->y,
+ 0);
if ((p != nullptr) &&
i->w > 0 &&
i->h > 0)