Fixed division by zero error

In the angle calculation of a bullet, the denominator could be zero.