CleverRaven/Cataclysm-DDA — pull request #1461 by Izicata (2013-06-07 19:40:18+00:00)
Title: Use absolute-value based range calculation when circular distances is off

If circular distances is on, use the old trig-based range calculation.

If circular distances is off, use either the distance along the x axis or the distance along the y axis as the range value (whichever is bigger), because that's how non-Euclidean square-tile based systems work.

Fixes #1460