This is wrong when we're using roguelike distance, it's only accurate for trig dist.