summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-gear.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/mon-gear.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/mon-gear.cc')
-rw-r--r--crawl-ref/source/mon-gear.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-gear.cc b/crawl-ref/source/mon-gear.cc
index 490c2ac6c0..fa67e3feab 100644
--- a/crawl-ref/source/mon-gear.cc
+++ b/crawl-ref/source/mon-gear.cc
@@ -746,9 +746,13 @@ static item_make_species_type _give_weapon(monster* mon, int level,
if (one_chance_in(25))
{
item.base_type = OBJ_RODS;
+#if TAG_MAJOR_VERSION == 34
do
item.sub_type = static_cast<rod_type>(random2(NUM_RODS));
while (item.sub_type == ROD_WARDING);
+#else
+ item.sub_type = static_cast<rod_type>(random2(NUM_RODS));
+#endif
break;
}
// deliberate fall-through