From b2bffd5eb17212b60b62ab86a8559213ed3820af Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Sun, 2 Dec 2012 13:27:12 -0800 Subject: 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. --- includes/datas.php | 6 +++--- includes/maps.php | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'includes') diff --git a/includes/datas.php b/includes/datas.php index f1f4377..fa04300 100644 --- a/includes/datas.php +++ b/includes/datas.php @@ -304,9 +304,9 @@ function applyCareerMazesAchievements($userID) { */ function getCompletedChallenges($userID, $mapID, $solution, $moves, $paths) { //mapID 5 is the tutorial, and is treated specially - $firephp = FirePHP::getInstance(true); - $firephp->log("In challenges"); - if($mapID < 10) { + //$firephp = FirePHP::getInstance(true); + //$firephp->log("In challenges"); + if($mapID <= 10) { if ($mapID == 5 && $moves == 75) { onCompletedTutorial($userID); } 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)
"; break; case 'a': case 'b': case 'c': case 'd': case 'e': - $maptable .= " + $checkpoint = strtoupper($mapMatrix[$i][$j]); + $maptable .= "
"; break; -- cgit v1.2.3