Update Pathfinder.Road to use AI API instead of GS API
|Category:||-||Estimated time:||1.00 hour|
http://wiki.openttd.org/AI:RoadPathfinder describes how to use Pathfinder.Road but it does not work as expected since version 4 uses the GameScript API and not the AI API. Minor changes are required (replace GS* to AI* in main.nut and library.nut).
Please find the new version attached - it worked for me.
This issue have been ported over to GitHub