summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monspeak.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monspeak.cc')
-rw-r--r--crawl-ref/source/monspeak.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monspeak.cc b/crawl-ref/source/monspeak.cc
index 393440f36c..ef0547010a 100644
--- a/crawl-ref/source/monspeak.cc
+++ b/crawl-ref/source/monspeak.cc
@@ -405,7 +405,7 @@ bool mons_speaks(monsters *monster)
}
std::vector<std::string> prefixes;
- if (mons_neutral(monster))
+ if (monster->neutral())
{
if (!force_speak && coinflip()) // Neutrals speak half as often.
return (false);