summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.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/monster.cc
parentb016ecab1895c928f22da2412e78215c4cf0b47b (diff)
downloadcrawl-ref-919266dbc630173ab4fe2067c323468e5e59989b.tar.gz
crawl-ref-919266dbc630173ab4fe2067c323468e5e59989b.zip
Rename functions (|amethyst).
Diffstat (limited to 'crawl-ref/source/monster.cc')
-rw-r--r--crawl-ref/source/monster.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc
index d97ea95bbc..1e17a5a2e3 100644
--- a/crawl-ref/source/monster.cc
+++ b/crawl-ref/source/monster.cc
@@ -3485,7 +3485,7 @@ bool monster::is_insane() const
* @param check_god whether the monster having a chaotic god matters.
* @returns 0 if not hated, a number greater than 0 otherwise.
*/
-int monster::unclean(bool check_god) const
+int monster::how_unclean(bool check_god) const
{
int uncleanliness = 0;
@@ -3528,7 +3528,7 @@ int monster::unclean(bool check_god) const
uncleanliness++;
corpse_effect_type ce = mons_corpse_effect(type);
- if ((ce == CE_ROT || ce == CE_MUTAGEN) && !chaos())
+ if ((ce == CE_ROT || ce == CE_MUTAGEN) && !how_chaotic())
uncleanliness++;
// Zin has a food conduct for monsters too.
@@ -3600,7 +3600,7 @@ int monster::known_chaos(bool check_spells_god) const
* religion; silver damage does not.
* @returns 0 if not chaotic, a larger number if so.
*/
-int monster::chaos(bool check_spells_god) const
+int monster::how_chaotic(bool check_spells_god) const
{
// Don't count known shapeshifters twice.
if (is_shapeshifter() && (flags & MF_KNOWN_SHIFTER))