[Parity][map][S3][R] 服务器房间匹配用双坐标系包含启发式;越界格子钳制到边缘格的揭示状态 #632
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
来源审计项:
map#13— [S3][R] 服务器房间匹配用双坐标系包含启发式;越界格子钳制到边缘格的揭示状态位置:
src/client/automap/automap-view.ts:392-406(isRoomRevealedByServer):0x07 包的roomX/roomY同时按 tile 坐标和子格坐标做"包含"判断,任一命中即算揭示。src/client/ui/minimap.ts:1350-1352(isAutomapCellRevealed):网格外的 cell 被钳到边缘格,沿用边缘格的揭示状态。原版:
影响: 只在 'off' 模式统计和 'act' 模式离格标记时起作用,对外不可见。
建议: 确定 0x07 包的坐标系后只用一种判断;越界格直接视为未揭示,或断言报错。
已有 issue: —