Follow-up Comment #1, patch #4819 (project freeciv):
Are you sure the following line is correct?
(int) (cost * 1.41421356f)
I thought in this case the multiplication would be done in integer (due to the
type of 'cost'), which would result as multiply cost by 1 (so effect).
I would have wrote:
(int) (1.41421356f * cost)
Reply to this item at:
Message posté via/par Gna!
Freeciv-dev mailing list