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.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc
index 9074b26d7c..d8102554bd 100644
--- a/crawl-ref/source/travel.cc
+++ b/crawl-ref/source/travel.cc
@@ -2341,7 +2341,6 @@ void start_translevel_travel(bool prompt_for_destination)
level_target = target;
}
-
if (level_id::current() == level_target.p.id
&& (level_target.p.pos.x == -1 || level_target.p.pos == you.pos()))
{
@@ -2679,10 +2678,11 @@ static bool find_transtravel_square(const level_pos &target, bool verbose)
if (verbose)
{
- if (target.id != current || target.pos.x != -1 && target.pos != you.pos())
+ 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);