summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-09 22:49:27 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-09 22:49:27 +0000
commit43f4b1aede1213636510f3c73879270d78740814 (patch)
tree402725c70f2c3c482a240cfb1b05ddc0422893c1 /crawl-ref/source/view.cc
parent45907051a75eb3c184050202066d4ea419ea38c5 (diff)
downloadcrawl-ref-43f4b1aede1213636510f3c73879270d78740814.tar.gz
crawl-ref-43f4b1aede1213636510f3c73879270d78740814.zip
Remove more references to the now-unused Repel Undead.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9400 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r--crawl-ref/source/view.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index b494f824a6..71c242352a 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -1361,13 +1361,6 @@ bool check_awaken(monsters* monster)
if (you.duration[DUR_BERSERKER])
return (true);
- // Repel undead is a holy aura, to which undead and demonic
- // creatures are sensitive. Note that even though demons aren't
- // affected by repel undead, they do sense this type of divine aura.
- // -- bwr
- if (you.duration[DUR_REPEL_UNDEAD] && mons_is_unholy(monster))
- return (true);
-
// I assume that creatures who can sense invisible are very perceptive.
int mons_perc = 10 + (mons_intel(monster) * 4) + monster->hit_dice
+ mons_sense_invis(monster) * 5;