diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2012-12-02 13:27:12 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2012-12-02 13:27:12 -0800 |
commit | b2bffd5eb17212b60b62ab86a8559213ed3820af (patch) | |
tree | 82a83c206ff6fa2f9f40eccde47064af1c6d9115 /includes/maps.php | |
parent | 1399d45c68e7d14fc1f3e8f2b5451669cce4ffa4 (diff) | |
download | pathery-b2bffd5eb17212b60b62ab86a8559213ed3820af.tar.xz |
Image updates and mapspecs fixes.
Fixed a bug where every checkpoint was called "checkpoint A"
Fixed a bug where requesting solution during a path would break it.
Fixed a bug regarding tutorial success.
Diffstat (limited to 'includes/maps.php')
-rw-r--r-- | includes/maps.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/maps.php b/includes/maps.php index 2b20eac..b6912a2 100644 --- a/includes/maps.php +++ b/includes/maps.php @@ -74,7 +74,8 @@ function DisplayMap($mapMatrix, $idprefix = 1, $style = 'normal', $speed = NULL) <div id='child_$handle' class='grid_inner'></div></td>"; break;
case 'a': case 'b': case 'c': case 'd': case 'e':
- $maptable .= "<td title='Checkpoint A. Position: $j,$i' class='grid_td_cp$mapItemCode' id='$handle' >
+ $checkpoint = strtoupper($mapMatrix[$i][$j]);
+ $maptable .= "<td title='Checkpoint $checkpoint. Position: $j,$i' class='grid_td_cp$mapItemCode' id='$handle' >
<div id='child_$handle' class='grid_inner'></div></td>";
break;
|