summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/particleemitter.cpp2
-rw-r--r--src/particleemitter.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/particleemitter.cpp b/src/particleemitter.cpp
index 1696a134..b2cc16c7 100644
--- a/src/particleemitter.cpp
+++ b/src/particleemitter.cpp
@@ -140,7 +140,7 @@ ParticleEmitter::ParticleEmitter(xmlNodePtr emitterNode, Particle *target, Map *
else if (name == "output-pause")
{
mOutputPause = readMinMax(propertyNode, 0);
- mOutputPauseLeft = mOutputSkip.value();
+ mOutputPauseLeft = mOutputPause.value();
}
else if (name == "acceleration")
{
diff --git a/src/particleemitter.h b/src/particleemitter.h
index c1365163..54341018 100644
--- a/src/particleemitter.h
+++ b/src/particleemitter.h
@@ -119,8 +119,8 @@ class ParticleEmitter
Map *mMap; /**< Map the particles are spawned on */
MinMax<int> mOutput; /**< Number of particles spawned per update */
- MinMax<int> mOutputSkip; /**< Pause in frames between two spawns */
- int mOutputSkipPause;
+ MinMax<int> mOutputPause; /**< Pause in frames between two spawns */
+ int mOutputPauseLeft;
/*
* Graphical representation of the particle