From 66874a1720624fbc04c756f7fb3159ca9158f976 Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 22 Feb 2016 16:32:38 +0000 Subject: [PATCH] Adjusted brake amount of missiles, to prevent them circling opponents. --- src/battle/bullets.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/battle/bullets.c b/src/battle/bullets.c index 70b952d..01ca780 100644 --- a/src/battle/bullets.c +++ b/src/battle/bullets.c @@ -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; } }