diff --git a/src/mklev.c b/src/mklev.c index 7a3de31ad..0350562f3 100644 --- a/src/mklev.c +++ b/src/mklev.c @@ -449,8 +449,6 @@ join(int a, int b, boolean nxcor) if (troom->lx > croom->hx) { dx = 1; dy = 0; - xx = croom->hx + 1; - tx = troom->lx - 1; if (!finddpos(&cc, DIR_E, croom)) return; if (!finddpos(&tt, DIR_W, troom)) @@ -458,8 +456,6 @@ join(int a, int b, boolean nxcor) } else if (troom->hy < croom->ly) { dy = -1; dx = 0; - yy = croom->ly - 1; - ty = troom->hy + 1; if (!finddpos(&cc, DIR_N, croom)) return; if (!finddpos(&tt, DIR_S, troom)) @@ -467,8 +463,6 @@ join(int a, int b, boolean nxcor) } else if (troom->hx < croom->lx) { dx = -1; dy = 0; - xx = croom->lx - 1; - tx = troom->hx + 1; if (!finddpos(&cc, DIR_W, croom)) return; if (!finddpos(&tt, DIR_E, troom)) @@ -476,8 +470,6 @@ join(int a, int b, boolean nxcor) } else { dy = 1; dx = 0; - yy = croom->hy + 1; - ty = troom->ly - 1; if (!finddpos(&cc, DIR_S, croom)) return; if (!finddpos(&tt, DIR_N, troom))