diff --git a/cave.php b/cave.php index f982c14..327fd4a 100644 --- a/cave.php +++ b/cave.php @@ -1735,7 +1735,7 @@ function drawmap($map1, $players, $x, $y, $direction) } } else { if ($i == 1) { - $ret .= " />"; + $ret .= ""; } if ($i == 2) { $ret .= ""; @@ -1776,13 +1776,13 @@ function drawmap($map1, $players, $x, $y, $direction) $objInWall = explode('/', $map[4][$sidewall]); if ($objInWall[1] == 'o') { - if (!passablewall($map[4][$sidewall])) $ret .= ">"; + if (!passablewall($map[4][$sidewall])) $ret .= "
"; } else { if (!passablewall($map[4][$sidewall])) $ret .= ""; } $objInWall = explode('/', $map[2][$sidewall]); if ($objInWall[1] == 'o') { - if (!passablewall($map[2][$sidewall])) $ret .= ">"; + if (!passablewall($map[2][$sidewall])) $ret .= ""; } else { if (!passablewall($map[2][$sidewall])) $ret .= ""; } @@ -1837,7 +1837,12 @@ function drawmap($map1, $players, $x, $y, $direction) $i--; } - $ret .= ">0 + $ret .= " +