diff options
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 2de57145b7..462a38abae 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -2053,8 +2053,8 @@ int player_see_invis(bool calc_unid) // to find if the square the monster is in is visible see mons_near(). bool player_monster_visible( const monsters *mon ) { - if (mons_has_ench( mon, ENCH_SUBMERGED ) - || (mons_has_ench( mon, ENCH_INVIS ) && !player_see_invis())) + if (mon->has_ench(ENCH_SUBMERGED) + || (mon->has_ench(ENCH_INVIS) && !player_see_invis())) { return (false); } @@ -5203,3 +5203,8 @@ god_type player::deity() const { return (religion); } + +kill_category player::kill_alignment() const +{ + return (KC_YOU); +} |