Фикс ошибок допущенных в c25335d846.
This commit is contained in:
13
cave.php
13
cave.php
@@ -1735,7 +1735,7 @@ function drawmap($map1, $players, $x, $y, $direction)
|
||||
}
|
||||
} else {
|
||||
if ($i == 1) {
|
||||
$ret .= " />";
|
||||
$ret .= "<img width=\"65\" height=\"80\" src=\"/i/dungeon/objects/$o.gif\" style=\"position: absolute; left: 0px; top: 110px\" />";
|
||||
}
|
||||
if ($i == 2) {
|
||||
$ret .= "<img width=\"43\" height=\"56\" src=\"/i/dungeon/objects/$o.gif\" style=\"position: absolute; left: 17px; top: 90px\" />";
|
||||
@@ -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 .= "></div>";
|
||||
if (!passablewall($map[4][$sidewall])) $ret .= "<div style=\"position:absolute;left:0;top:0;width:352px;height:240px;background-image:url($base/rsw$i$objInWall[2].gif)\"></div>";
|
||||
} else {
|
||||
if (!passablewall($map[4][$sidewall])) $ret .= "<div class=\"rsw$i\"></div>";
|
||||
}
|
||||
$objInWall = explode('/', $map[2][$sidewall]);
|
||||
if ($objInWall[1] == 'o') {
|
||||
if (!passablewall($map[2][$sidewall])) $ret .= "></div>";
|
||||
if (!passablewall($map[2][$sidewall])) $ret .= "<div style=\"position:absolute;left:0;top:0;width:352px;height:240px;background-image:url($base/lsw$i$objInWall[2].gif)\"></div>";
|
||||
} else {
|
||||
if (!passablewall($map[2][$sidewall])) $ret .= "<div class=\"lsw$i\"></div>";
|
||||
}
|
||||
@@ -1837,7 +1837,12 @@ function drawmap($map1, $players, $x, $y, $direction)
|
||||
$i--;
|
||||
}
|
||||
|
||||
$ret .= ">0</div>
|
||||
$ret .= "</div>
|
||||
</td><td valign=\"top\">
|
||||
<div style=\"height:116px;position:relative\">
|
||||
<div style=\"padding-top:11px;padding-left:33px\">
|
||||
<DIV class=\"MoveLine\"><IMG src=\"/i/move/wait3.gif\" id=\"MoveLine\" class=\"MoveLine\"></DIV>
|
||||
<div style=\"visibility:hidden; height:0\" id=\"moveto\">0</div>
|
||||
</div>";
|
||||
|
||||
if ($direction == 0) {
|
||||
|
||||
Reference in New Issue
Block a user