- bugfix to properly set defaults for particles

This commit is contained in:
SoftCoder 2014-11-28 16:22:29 -08:00
parent 65a3ce6e86
commit ec0d9a7cd5

View File

@ -126,6 +126,9 @@ ParticleSystem::ParticleSystem(int particleCount) {
emissionRate= 15.0f;
emissionState= 1.0f; // initialized with 1 because we must have at least one particle in the beginning!
speed= 1.0f;
speedUpRelative = 0;
speedUpConstant = 0;
teamcolorNoEnergy= false;
teamcolorEnergy= false;
alternations= 0;