fix:自动拾取禁止穿过滑冰
This commit is contained in:
1 parent
eaadbcc4fe
commit
b2fcc05723
3 files changed
+22
-10
No files matched your search
+1
-1
@@ -675,7 +675,7 @@ maps.prototype.getFgMapArray = function (floorId) {
|
||||
maps.prototype._getBgFgNumber = function (name, x, y, floorId) {
|
||||
if (x == null) x = core.getHeroLoc('x');
|
||||
if (y == null) y = core.getHeroLoc('y');
|
||||
return this._getBgFgMapArray(name, floorId)[x][y];
|
||||
return this._getBgFgMapArray(name, floorId)[y][x];
|
||||
}
|
||||
|
||||
maps.prototype.getBgNumber = function (x, y, floorId) {
|
||||
|
||||
Reference in new issue
Block a user