Fixed shield splinter effect.
This commit is contained in:
parent
1b43e4908c
commit
73a3c0c78a
|
@ -492,8 +492,9 @@ void addShieldSplinterEffect(Entity *ent)
|
||||||
e->dx *= 0.1;
|
e->dx *= 0.1;
|
||||||
e->dy = rand() % 64 - rand() % 64;
|
e->dy = rand() % 64 - rand() % 64;
|
||||||
e->dy *= 0.1;
|
e->dy *= 0.1;
|
||||||
|
e->a = 128;
|
||||||
|
|
||||||
e->a = 255;
|
e->health = e->a;
|
||||||
|
|
||||||
setRandomShieldHue(e);
|
setRandomShieldHue(e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue