- a few minor bugfixes

This commit is contained in:
Mark Vejvoda
2011-11-17 21:36:29 +00:00
parent 0f195ca9e4
commit c751c1a2cf
2 changed files with 29 additions and 13 deletions

View File

@@ -640,7 +640,7 @@ void UnitParticleSystem::initParticle(Particle *p, int particleIndex){
// work out where we start for our shape (set speed and pos)
switch(shape){
case sSpherical:
angle = random.randRange(0,360);
angle = (float)random.randRange(0,360);
// fall through
case sConical:{
Vec2f horiz = Vec2f(1,0).rotate(ang);