summaryrefslogtreecommitdiffstats
path: root/includes/maps.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/maps.php')
-rw-r--r--includes/maps.php31
1 files changed, 1 insertions, 30 deletions
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 .= "<td class='o'></td>";
- //$r .= "<td class='grid_td'></td>";
- break;
- case TileCheckpoint:
- $r .= "<td class='$type$value'></td>";
- //$r .= "<td class='c'></td>";
- break;
- case TileRock:
- $r .= "<td class='grid_td_rocks'></td>";
- //$r .= "<td style='background-color:#c33; width:4px; height:4px;'></td>";
- break;
- case TileStart:
- $r .= "<td class='grid_td_start'></td>";
- //$r .= "<td style='background-color:#2c2; width:4px; height:4px;'></td>";
- break;
- case TileFinish:
- $r .= "<td class='grid_td_finish'></td>";
- //$r .= "<td style='background-color:#666; width:4px; height:4px;'></td>";
- break;
- case TileTeleportIn:
- $r .= "<td class='$type$value'></td>";
- //$r .= "<td style='background-color:#666; width:4px; height:4px;'></td>";
- break;
- case TileTeleportOut:
- $r .= "<td class='$type$value'></td>";
- //$r .= "<td style='background-color:#666; width:4px; height:4px;'></td>";
- break;
- }
+ $r .= "<td class='$type$value'></td>";
}
$r .= "</tr>";
}