summaryrefslogtreecommitdiffstats
path: root/includes/maps.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2011-11-18 23:10:14 -0800
committerPatrick Davison <snapwilliam@gmail.com>2011-11-18 23:10:14 -0800
commit4dfa3bb62317d1268eaf84b94fd19c97e36e1796 (patch)
treea3ae9b53fbffd16347180260c842965671c78a36 /includes/maps.php
parente876ad1ee95b3325f5ea249568d185d12a01d644 (diff)
downloadpathery-4dfa3bb62317d1268eaf84b94fd19c97e36e1796.tar.xz
Leaderboard can now show further back than yesterday.
Diffstat (limited to 'includes/maps.php')
-rw-r--r--includes/maps.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/maps.php b/includes/maps.php
index 1c51f6d..f3ac29c 100644
--- a/includes/maps.php
+++ b/includes/maps.php
@@ -733,6 +733,7 @@ function findTiles ($mapMatrix, $search) {
// Returns: ARRAY( blocked, path, start, end )
+//!! X and Y are reversed here...
function findPath($mapMatrix, $start = '0,1.', $target = 'f') {
$seed = explode(".", $start);
foreach ($seed as &$v) {