summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.h
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-01 10:10:02 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-01 10:10:59 -0600
commita0de356f3d007e58152f257212ed13d8b44fdfc0 (patch)
treef58fc43277e2f4fcb5f99ef57b51eeeef05a9905 /crawl-ref/source/player.h
parent7e8ebade4e8c0001439b89f333174f9443b74eb0 (diff)
downloadcrawl-ref-a0de356f3d007e58152f257212ed13d8b44fdfc0.tar.gz
crawl-ref-a0de356f3d007e58152f257212ed13d8b44fdfc0.zip
Move checks for a player or monster's being chaotic into another
convenience function in the actor interface.
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r--crawl-ref/source/player.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h
index 873b5cd275..b8c2c3af94 100644
--- a/crawl-ref/source/player.h
+++ b/crawl-ref/source/player.h
@@ -409,6 +409,7 @@ public:
mon_holy_type holiness() const;
bool is_unholy() const;
+ bool is_chaotic() const;
int res_fire() const;
int res_steam() const;
int res_cold() const;