{"action":"closed","issue":{"url":"https://api.github.com/repos/4ian/GD/issues/196","labels_url":"https://api.github.com/repos/4ian/GD/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/4ian/GD/issues/196/comments","events_url":"https://api.github.com/repos/4ian/GD/issues/196/events","html_url":"https://github.com/4ian/GD/issues/196","id":104737777,"number":196,"title":"Pathfinding bug : when destination is on the next/previous column/line (from the starting point)","user":{"login":"victorlevasseur","id":964512,"avatar_url":"https://avatars.githubusercontent.com/u/964512?v=3","gravatar_id":"","url":"https://api.github.com/users/victorlevasseur","html_url":"https://github.com/victorlevasseur","followers_url":"https://api.github.com/users/victorlevasseur/followers","following_url":"https://api.github.com/users/victorlevasseur/following{/other_user}","gists_url":"https://api.github.com/users/victorlevasseur/gists{/gist_id}","starred_url":"https://api.github.com/users/victorlevasseur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorlevasseur/subscriptions","organizations_url":"https://api.github.com/users/victorlevasseur/orgs","repos_url":"https://api.github.com/users/victorlevasseur/repos","events_url":"https://api.github.com/users/victorlevasseur/events{/privacy}","received_events_url":"https://api.github.com/users/victorlevasseur/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/4ian/GD/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/4ian/GD/milestones/2","html_url":"https://github.com/4ian/GD/milestones/4.0","labels_url":"https://api.github.com/repos/4ian/GD/milestones/2/labels","id":1245627,"number":2,"title":"4.0","description":"","creator":{"login":"victorlevasseur","id":964512,"avatar_url":"https://avatars.githubusercontent.com/u/964512?v=3","gravatar_id":"","url":"https://api.github.com/users/victorlevasseur","html_url":"https://github.com/victorlevasseur","followers_url":"https://api.github.com/users/victorlevasseur/followers","following_url":"https://api.github.com/users/victorlevasseur/following{/other_user}","gists_url":"https://api.github.com/users/victorlevasseur/gists{/gist_id}","starred_url":"https://api.github.com/users/victorlevasseur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorlevasseur/subscriptions","organizations_url":"https://api.github.com/users/victorlevasseur/orgs","repos_url":"https://api.github.com/users/victorlevasseur/repos","events_url":"https://api.github.com/users/victorlevasseur/events{/privacy}","received_events_url":"https://api.github.com/users/victorlevasseur/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":13,"state":"open","created_at":"2015-08-07T15:09:57Z","updated_at":"2015-09-04T12:45:50Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-09-03T16:50:02Z","updated_at":"2015-09-04T12:45:50Z","closed_at":"2015-09-04T12:45:50Z","body":"In the Pathfinding playground test that you added in the previous commit, the player can't move to the destination if the destination is on next/previous line/column. However, it works if the destination is close to him (1/2/3 cells away).\r\n\r\nHere is an example : \r\n![pathfindingproblem](https://cloud.githubusercontent.com/assets/964512/9664822/88cd93ac-526c-11e5-9cfc-4c6b7081131a.gif)\r\n\r\nNote : if I deactivate the maximum loop counter in the pathfinding ~~automatism~~ behavior, GDevelop crash because of an infinite loop"}}