Opps! I remember thinking when I wrote that code "Is this right?... Oh, well the Wrapping Map in a-star.rpg works, so it must be right!"<div><br></div><div>Thank you for catching this.<br><br>On Tuesday, July 18, 2017,  <<a href="mailto:subversion@hamsterrepublic.com">subversion@hamsterrepublic.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">teeemcee<br>
2017-07-18 09:15:50 -0700 (Tue, 18 Jul 2017)<br>
299<br>
xypair_wrapping_manhattan_<wbr>distance was completely utterly wrong on wrapping maps. It's a miracle pathing on wrapping maps worked!<br>
<br>
And it was always like that, not just since my recent changes.<br>
<br>
I guess pathfinding is just like the rest of AI: you can never be sure it's correct, even when it works.<br>
---<br>
U   wip/pathfinding.bas<br>
______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'ohrrpgce@lists.motherhamster.org')">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" target="_blank">http://lists.motherhamster.<wbr>org/listinfo.cgi/ohrrpgce-<wbr>motherhamster.org</a><br>
</blockquote></div>