diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2012-09-30 21:48:56 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2012-09-30 21:48:56 -0700 |
commit | bc456f1ef6a74a74e821304df1a08a5aeb341f7a (patch) | |
tree | a36e8a4ff2dadbfda7a94d0ca849bab8b6786086 /includes/maps.php | |
parent | be06cd9fdc0253b5fdf2fb17de4aac6f10bff80c (diff) | |
parent | 60c8232de409d0cb6de37ef87a489049f060003d (diff) | |
download | pathery-bc456f1ef6a74a74e821304df1a08a5aeb341f7a.tar.xz |
Merge branch 'HEAD' of ssh://git@git.raylu.net/pathery
Diffstat (limited to 'includes/maps.php')
-rw-r--r-- | includes/maps.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/maps.php b/includes/maps.php index 05559b4..2b20eac 100644 --- a/includes/maps.php +++ b/includes/maps.php @@ -965,6 +965,8 @@ function routePath($mygrid, $validate = false, $traverseBackwards = false) { //Mark where we ended up starting from.
if ($r['start'] == '')
$r['start'] = $p['start'];
+ $r['end'] = $p['end'];
+
//Could be blocked right already.
$blocked = $p['blocked'];
do {
|