diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-29 05:37:40 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-29 05:37:40 +0000 |
commit | fb9acb2668f2bfa66cc53e718a612252feca4d6b (patch) | |
tree | 766b2770585f5b0b54e9ccc1cfabb8c8ce915a00 /crawl-ref/source/religion.cc | |
parent | 2d8ce0a2ef76abb530cdfd8e4c126c7249e6b19d (diff) | |
download | crawl-ref-fb9acb2668f2bfa66cc53e718a612252feca4d6b.tar.gz crawl-ref-fb9acb2668f2bfa66cc53e718a612252feca4d6b.zip |
Make tso_unchivalric_attack_safe_monster() take a monsters* parameter
instead of an actor* parameter.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6208 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 36bfd110ec..cc198b1ec7 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -5902,8 +5902,8 @@ int piety_breakpoint(int i) // Returns true if the Shining One doesn't mind your using unchivalric // attacks on this creature. -bool tso_unchivalric_attack_safe_monster(const actor *act) +bool tso_unchivalric_attack_safe_monster(const monsters *mon) { - const mon_holy_type holiness = act->holiness(); + const mon_holy_type holiness = mon->holiness(); return (holiness != MH_NATURAL && holiness != MH_HOLY); } |