summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorStefan O'Rear <stefanor@cox.net>2009-11-03 00:04:22 -0800
committerStefan O'Rear <stefanor@cox.net>2009-11-03 00:04:31 -0800
commitdec3c687da2a010a11c16cc0b19cacafe2ed49dd (patch)
treec1c5046c137a8dd5a62eb80ab943611a889a4724 /crawl-ref/source/item_use.cc
parentec56a2051c1562c03a0a7715510e8da5c7a19925 (diff)
downloadcrawl-ref-dec3c687da2a010a11c16cc0b19cacafe2ed49dd.tar.gz
crawl-ref-dec3c687da2a010a11c16cc0b19cacafe2ed49dd.zip
Remove +Tele as a randart property
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc20
1 files changed, 5 insertions, 15 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 16d2717b38..a57f0ab949 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -3207,14 +3207,11 @@ void jewellery_wear_effects(item_def &item)
break;
case RING_TELEPORTATION:
- if (!scan_artefacts(ARTP_CAN_TELEPORT))
- {
- mpr("You feel slightly jumpy.");
- if (artefact)
- fake_rap = ARTP_CAUSE_TELEPORTATION;
- else
- ident = ID_KNOWN_TYPE;
- }
+ mpr("You feel slightly jumpy.");
+ if (artefact)
+ fake_rap = ARTP_CAUSE_TELEPORTATION;
+ else
+ ident = ID_KNOWN_TYPE;
break;
case AMU_RAGE:
@@ -5480,13 +5477,6 @@ void use_artefact(item_def &item, bool *show_msgs, bool unmeld)
artefact_wpn_learn_prop(item, ARTP_INVISIBLE);
}
- if (unknown_proprt(ARTP_CAN_TELEPORT)
- && !items_give_ability(item.link, ARTP_CAN_TELEPORT))
- {
- mpr("You feel slightly jumpy.");
- artefact_wpn_learn_prop(item, ARTP_CAN_TELEPORT);
- }
-
if (unknown_proprt(ARTP_BERSERK)
&& !items_give_ability(item.link, ARTP_BERSERK))
{