diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-06 19:20:53 +0300 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-06 17:29:06 +0100 |
commit | f7274ebf7b56aecaebd2207582ce37879a47b697 (patch) | |
tree | d113384575cf10267a14cfec06d245b1bd01f641 /crawl-ref/source/fight.cc | |
parent | 298af9dfc8810cf44e808ac91c236a2c1df6b704 (diff) | |
download | crawl-ref-f7274ebf7b56aecaebd2207582ce37879a47b697.tar.gz crawl-ref-f7274ebf7b56aecaebd2207582ce37879a47b697.zip |
Remove mons_friendly_real and mons_wont_attack_real.
They were the same as non-_real functions.
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r-- | crawl-ref/source/fight.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index 3d96da7b96..524aabadd7 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -4541,7 +4541,7 @@ void melee_attack::mons_do_napalm() else { napalm_monster(defender_as_monster(), - mons_friendly_real(attacker_as_monster()) ? + mons_friendly(attacker_as_monster()) ? KC_FRIENDLY : KC_OTHER, std::min(4, 1 + random2(attacker->get_experience_level())/2)); } |