summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acquire.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-02-18 04:43:52 +0000
committerChris Campbell <chriscampbell89@gmail.com>2014-02-18 04:43:52 +0000
commita726785d79ffb50c0de99ec9a377efda8a11bcba (patch)
treebf07fbffd05144a8c34b9128ed7ce52fc783d8d2 /crawl-ref/source/acquire.cc
parent997c442b5a232eeb34896d4ab82b01ff7f2597aa (diff)
downloadcrawl-ref-a726785d79ffb50c0de99ec9a377efda8a11bcba.tar.gz
crawl-ref-a726785d79ffb50c0de99ec9a377efda8a11bcba.zip
Remove the rod of warding
It's one of the various uninteresting multi-spell rods, with Deflect Missiles as the only notable spell most of the time, and DMsl doesn't work as a rod spell with its recent changes (and probably shouldn't be a rod spell even if it did work properly).
Diffstat (limited to 'crawl-ref/source/acquire.cc')
-rw-r--r--crawl-ref/source/acquire.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/acquire.cc b/crawl-ref/source/acquire.cc
index b725b26692..2113a79073 100644
--- a/crawl-ref/source/acquire.cc
+++ b/crawl-ref/source/acquire.cc
@@ -795,7 +795,15 @@ static int _find_acquirement_subtype(object_class_type &class_wanted,
case OBJ_WANDS: type_wanted = _acquirement_wand_subtype(); break;
case OBJ_STAVES: type_wanted = _acquirement_staff_subtype(already_has);
break;
+#if TAG_MAJOR_VERSION == 34
+ case OBJ_RODS:
+ do
+ type_wanted = random2(NUM_RODS);
+ while (type_wanted == ROD_WARDING);
+ break;
+#else
case OBJ_RODS: type_wanted = random2(NUM_RODS); break;
+#endif
case OBJ_JEWELLERY: type_wanted = _acquirement_jewellery_subtype();
break;
default: break; // gold, books