- bugfix to properly set defaults for particles
This commit is contained in:
parent
65a3ce6e86
commit
ec0d9a7cd5
|
@ -126,6 +126,9 @@ ParticleSystem::ParticleSystem(int particleCount) {
|
||||||
emissionRate= 15.0f;
|
emissionRate= 15.0f;
|
||||||
emissionState= 1.0f; // initialized with 1 because we must have at least one particle in the beginning!
|
emissionState= 1.0f; // initialized with 1 because we must have at least one particle in the beginning!
|
||||||
speed= 1.0f;
|
speed= 1.0f;
|
||||||
|
speedUpRelative = 0;
|
||||||
|
speedUpConstant = 0;
|
||||||
|
|
||||||
teamcolorNoEnergy= false;
|
teamcolorNoEnergy= false;
|
||||||
teamcolorEnergy= false;
|
teamcolorEnergy= false;
|
||||||
alternations= 0;
|
alternations= 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user