summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 4797251ab2..b4a4ed0dd4 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -1300,12 +1300,14 @@ static bool _teleport_player( bool allow_control, bool new_abyss_area )
}
coord_def pos(1, 0);
- bool large_change = false;
+ bool large_change = false;
+ bool check_ring_TC = false;
if (is_controlled)
{
mpr("You may choose your destination (press '.' or delete to select).");
mpr("Expect minor deviation.");
+ check_ring_TC = true;
more();
while (true)
@@ -1445,6 +1447,10 @@ static bool _teleport_player( bool allow_control, bool new_abyss_area )
if (large_change)
handle_interrupted_swap(true);
+ // Might identify unknown ring of teleport control.
+ if (check_ring_TC)
+ maybe_id_ring_TC();
+
return !is_controlled;
}