Adjusted brake amount of missiles, to prevent them circling opponents.
This commit is contained in:
parent
bbd42a0456
commit
66874a1720
|
@ -233,9 +233,9 @@ static void faceTarget(Bullet *b)
|
||||||
|
|
||||||
b->angle = mod(b->angle, 360);
|
b->angle = mod(b->angle, 360);
|
||||||
|
|
||||||
/* halve your speed while you're not at the correct angle */
|
/* lower your speed while you're not at the correct angle */
|
||||||
b->dx *= 0.5;
|
b->dx *= 0.38;
|
||||||
b->dy *= 0.5;
|
b->dy *= 0.38;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue