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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index b4a4ed0dd4..99bed5eb38 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -1244,7 +1244,7 @@ bool allow_control_teleport(bool quiet)
void you_teleport(void)
{
- if (scan_randarts(RAP_PREVENT_TELEPORTATION))
+ if (scan_artefacts(ARTP_PREVENT_TELEPORTATION))
mpr("You feel a weird sense of stasis.");
else if (you.duration[DUR_TELEPORT])
{
@@ -1271,7 +1271,7 @@ static bool _teleport_player( bool allow_control, bool new_abyss_area )
&& player_control_teleport()
&& allow_control_teleport());
- if (scan_randarts(RAP_PREVENT_TELEPORTATION))
+ if (scan_artefacts(ARTP_PREVENT_TELEPORTATION))
{
mpr("You feel a strange sense of stasis.");
return (false);