Hi James

>> substituted M_PI since it was used elsewhere
>
> M_PI on my systems is a double literal, so this will promote the other
> arguments to double, then another conversion to float before passing
> to nearbyintf, right?

Indeed!  Good catch.

https://github.com/mrbax/netrek-server/commit/c53069112920806bcb87429a7e86354920a9cd48

Cheers
Michael