mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 14:11:15 +02:00
- a few minor bugfixes
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user