mirror of
https://github.com/glest/glest-source.git
synced 2025-08-19 14:41:23 +02:00
- bugfix to properly set defaults for particles
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user