From 3534d26ca916c9d493889c392010e5026326f548 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Sat, 26 Jan 2013 02:23:17 -0800 Subject: Improved DisplayMapThumbnail --- includes/maps.php | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) (limited to 'includes/maps.php') diff --git a/includes/maps.php b/includes/maps.php index d41505a..e5b6fdc 100644 --- a/includes/maps.php +++ b/includes/maps.php @@ -300,36 +300,7 @@ function DisplayMapThumbnail($map, $link = false) { for ($x = 0; $x < $map->width; $x++) { //Number of Columns $value = $map->tiles[$y][$x][TileValue]; $type = $map->tiles[$y][$x][TileType]; - switch($type) { - case TileEmpty: - $r .= ""; - //$r .= ""; - break; - case TileCheckpoint: - $r .= ""; - //$r .= ""; - break; - case TileRock: - $r .= ""; - //$r .= ""; - break; - case TileStart: - $r .= ""; - //$r .= ""; - break; - case TileFinish: - $r .= ""; - //$r .= ""; - break; - case TileTeleportIn: - $r .= ""; - //$r .= ""; - break; - case TileTeleportOut: - $r .= ""; - //$r .= ""; - break; - } + $r .= ""; } $r .= ""; } -- cgit v1.2.3