### Re: Troubleshooting the ruleset

Posted:

**Fri Sep 14, 2018 12:57 pm**So, just to make things clear, path is also calculated diagonally, not by Pythagoras? Distance between cities at (0,0) and (3,3) would be 3, not 3*sqrt(2) = 4(.2)?

Freeciv - because civilization should be free!

http://forum.freeciv.org/f/

Page **2** of **2**

Posted: **Fri Sep 14, 2018 12:57 pm**

So, just to make things clear, path is also calculated diagonally, not by Pythagoras? Distance between cities at (0,0) and (3,3) would be 3, not 3*sqrt(2) = 4(.2)?

Posted: **Fri Sep 14, 2018 1:10 pm**

Corbeau wrote:So, just to make things clear, path is also calculated diagonally, not by Pythagoras? Distance between cities at (0,0) and (3,3) would be 3, not 3*sqrt(2) = 4(.2)?

Yes, 3. not squared radius.

Posted: **Fri Sep 14, 2018 1:14 pm**

Thanks.

Posted: **Fri Sep 14, 2018 1:52 pm**

It seems September 2004.Caedo wrote:When was that code written?

https://github.com/freeciv/freeciv/comm ... 26fb7R2252

Before September 2004, it seems Courthouse and Palace just halves corruption (fractions are rounded down towards zero).