From a76e4aaec9d7d15eb3f38408ffb9d86a316ad55b Mon Sep 17 00:00:00 2001 From: Titus Tscharntke Date: Sun, 28 Feb 2010 15:39:12 +0000 Subject: [PATCH] teamcolor TGAs / more particles / better snow --- source/shared_lib/sources/graphics/particle.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/shared_lib/sources/graphics/particle.cpp b/source/shared_lib/sources/graphics/particle.cpp index 93cc0c61f..8a3a1e165 100644 --- a/source/shared_lib/sources/graphics/particle.cpp +++ b/source/shared_lib/sources/graphics/particle.cpp @@ -370,7 +370,6 @@ void UnitParticleSystem::initParticle(Particle *p, int particleIndex){ float y= cosf(ang)*mod; float radRatio= sqrtf(sqrtf(mod/radius)); - float rad=degToRad(rotation); //p->color= color*0.5f + color*0.5f*radRatio; p->color=color; @@ -512,7 +511,7 @@ SnowParticleSystem::SnowParticleSystem(int particleCount):ParticleSystem(particl setEmissionRate(2); setParticleSize(0.2f); setColor(Vec4f(0.8f, 0.8f, 0.8f, 0.8f)); - setSpeed(0.025f); + setSpeed(0.05f); } void SnowParticleSystem::initParticle(Particle *p, int particleIndex){