diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2013-11-08 19:04:13 +0000 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-11-11 03:54:06 +0100 |
commit | 723b4fa0c231dc452cc1ff30a01780d71ac83882 (patch) | |
tree | bb422b699919251ff2d60ac7fe0a150de183a38d /crawl-ref/source/spl-util.cc | |
parent | d12a4ba87f98e8d1ac6495ea9190b97d9c0129bc (diff) | |
download | crawl-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/spl-util.cc')
-rw-r--r-- | crawl-ref/source/spl-util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-util.cc b/crawl-ref/source/spl-util.cc index 0b0b23bf4b..fe08df5fca 100644 --- a/crawl-ref/source/spl-util.cc +++ b/crawl-ref/source/spl-util.cc @@ -1160,7 +1160,7 @@ bool spell_is_useless(spell_type spell, bool transient) #endif case SPELL_REPEL_MISSILES: if (player_mutation_level(MUT_DISTORTION_FIELD) == 3 - || !you.suppressed() && you.scan_artefacts(ARTP_RMSL, true)) + || you.scan_artefacts(ARTP_RMSL, true)) { return true; } |