summaryrefslogtreecommitdiffstats
path: root/includes/maps.php
diff options
context:
space:
mode:
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) {