Fixed shield splinter effect.

This commit is contained in:
Steve 2016-03-16 21:54:08 +00:00
parent 1b43e4908c
commit 73a3c0c78a
1 changed files with 3 additions and 2 deletions

View File

@ -492,8 +492,9 @@ void addShieldSplinterEffect(Entity *ent)
e->dx *= 0.1;
e->dy = rand() % 64 - rand() % 64;
e->dy *= 0.1;
e->a = 255;
e->a = 128;
e->health = e->a;
setRandomShieldHue(e);
}