Maps: Don't offset far-end of part. tunnel lines
Some checks failed
Daily Workflow / daily-job (push) Has been cancelled
Daily Workflow / javadoc-latest (push) Has been cancelled
Daily Workflow / build-java7 (push) Has been cancelled
Java CI / build (push) Has been cancelled
Java CI / javadoc-latest (push) Has been cancelled
Java CI / build-java7 (push) Has been cancelled
Dockerhub / docker (push) Has been cancelled
Java with IzPack Snapshot Setup / setup (push) Has been cancelled

This commit is contained in:
zzz
2025-05-06 19:42:38 -04:00
parent ad4d207244
commit 21d847992b

View File

@ -453,17 +453,17 @@ public class MapMaker {
int tx = rotate(m.x);
int ty = m.y + IMG_Y_OFF;
if (tx > usx) {
tx -= off;
//tx -= off;
mx = usx + off;
} else {
tx += off;
//tx += off;
mx = usx - off;
}
if (ty > usy) {
ty -= off;
//ty -= off;
my = usy + off;
} else {
ty += off;
//ty += off;
my = usy - off;
}
g.drawLine(tx, ty, mx, my, PART_COLOR,