summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/behold.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2013-11-08 19:04:13 +0000
committerAdam Borowski <kilobyte@angband.pl>2013-11-11 03:54:06 +0100
commit723b4fa0c231dc452cc1ff30a01780d71ac83882 (patch)
treebb422b699919251ff2d60ac7fe0a150de183a38d /crawl-ref/source/behold.cc
parentd12a4ba87f98e8d1ac6495ea9190b97d9c0129bc (diff)
downloadcrawl-ref-723b4fa0c231dc452cc1ff30a01780d71ac83882.tar.gz
crawl-ref-723b4fa0c231dc452cc1ff30a01780d71ac83882.zip
Remove moths of suppression
Suppression is a hugely complicated and inconsistent mechanic. Its original purpose was to be a way of overriding rPois in Spider but there are now plenty of monsters that do this effectively (and much more simply). [1KB: I moved this to trunk, as it made an already extremely hard to review branch massively more so. There's nothing but a single enum to preserve, so compat break doesn't make this removal any easier or harder.]
Diffstat (limited to 'crawl-ref/source/behold.cc')
-rw-r--r--crawl-ref/source/behold.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/behold.cc b/crawl-ref/source/behold.cc
index e44ad802ab..fe8984baa9 100644
--- a/crawl-ref/source/behold.cc
+++ b/crawl-ref/source/behold.cc
@@ -265,5 +265,5 @@ bool player::possible_beholder(const monster* mon) const
&& !mon->berserk_or_insane()
&& !mons_is_fleeing(mon)
&& !is_sanctuary(pos())
- || player_equip_unrand_effect(UNRAND_DEMON_AXE)));
+ || player_equip_unrand(UNRAND_DEMON_AXE)));
}