diff --git a/src/teleport.c b/src/teleport.c index f23643aeb..0e47f9735 100644 --- a/src/teleport.c +++ b/src/teleport.c @@ -540,7 +540,7 @@ struct obj *scroll; if (teleok(cc.x, cc.y, FALSE)) { /* for scroll, discover it regardless of destination */ teleds(cc.x, cc.y, TELEDS_TELEPORT); - if (iflags.travelcc.x == cc.x && iflags.travelcc.y == cc.y) + if (iflags.travelcc.x == u.ux && iflags.travelcc.y == u.uy) iflags.travelcc.x = iflags.travelcc.y = 0; return; }