Adjusted brake amount of missiles, to prevent them circling opponents.

This commit is contained in:
Steve 2016-02-22 16:32:38 +00:00
parent bbd42a0456
commit 66874a1720
1 changed files with 3 additions and 3 deletions

View File

@ -233,9 +233,9 @@ static void faceTarget(Bullet *b)
b->angle = mod(b->angle, 360);
/* halve your speed while you're not at the correct angle */
b->dx *= 0.5;
b->dy *= 0.5;
/* lower your speed while you're not at the correct angle */
b->dx *= 0.38;
b->dy *= 0.38;
}
}