summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/travel.cc')
-rw-r--r--crawl-ref/source/travel.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc
index 433e8878a0..a5f16a51d3 100644
--- a/crawl-ref/source/travel.cc
+++ b/crawl-ref/source/travel.cc
@@ -2577,8 +2577,14 @@ static bool find_transtravel_square(const level_pos &target, bool verbose)
return find_transtravel_square(newlev, verbose);
}
- if (verbose && target.id != current)
- mpr("Sorry, I don't know how to get there.");
+ if (verbose)
+ {
+ if (target.id != current || target.pos.x != -1 && target.pos != you.pos())
+ mpr("Sorry, I don't know how to get there.");
+ if (target.id == current && target.pos.x != -1 && target.pos == you.pos())
+ mpr("You're already here!");
+ }
+
return (false);
}