summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dactions.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-06-19 12:29:04 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-06-19 12:52:57 -0400
commit919266dbc630173ab4fe2067c323468e5e59989b (patch)
treeb563540f4c3c0cc3769fc13238925e116b282d57 /crawl-ref/source/dactions.cc
parentb016ecab1895c928f22da2412e78215c4cf0b47b (diff)
downloadcrawl-ref-919266dbc630173ab4fe2067c323468e5e59989b.tar.gz
crawl-ref-919266dbc630173ab4fe2067c323468e5e59989b.zip
Rename functions (|amethyst).
Diffstat (limited to 'crawl-ref/source/dactions.cc')
-rw-r--r--crawl-ref/source/dactions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dactions.cc b/crawl-ref/source/dactions.cc
index 43ee0a4233..6ce4dfa885 100644
--- a/crawl-ref/source/dactions.cc
+++ b/crawl-ref/source/dactions.cc
@@ -85,7 +85,7 @@ bool mons_matches_daction(const monster* mon, daction_type act)
case DACT_ALLY_UNHOLY_EVIL:
return mon->wont_attack() && (mon->is_unholy() || mon->is_evil());
case DACT_ALLY_UNCLEAN_CHAOTIC:
- return mon->wont_attack() && (mon->unclean() || mon->chaos());
+ return mon->wont_attack() && (mon->how_unclean() || mon->how_chaotic());
case DACT_ALLY_SPELLCASTER:
return mon->wont_attack() && mon->is_actual_spellcaster();
case DACT_ALLY_YRED_SLAVE: