From ee0e11ec941fd0847cd24464d960605147a20c61 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Dec 2017 23:32:12 +0300 Subject: Remove default parameters from particleengine. --- src/resources/map/map.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/resources/map') 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) -- cgit v1.2.3-70-g09d2