fix:自动拾取禁止穿过滑冰

This commit is contained in:
ShakeFlower committed 2025-02-14 09:41:02 +08:00
1 parent eaadbcc4fe
commit b2fcc05723
3 files changed
+22 -10

No files matched your search

+1 -1
View File
@@ -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) {