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/tilepick.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/tilepick.cc')
-rw-r--r-- | crawl-ref/source/tilepick.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc index 47caa84e56..e1d910240f 100644 --- a/crawl-ref/source/tilepick.cc +++ b/crawl-ref/source/tilepick.cc @@ -1055,7 +1055,7 @@ int tileidx_monster(const monsters *mons, bool detected) if (mons->has_ench(ENCH_STICKY_FLAME)) ch |= TILE_FLAG_FLAME; - if (mons_friendly_real(mons)) + if (mons_friendly(mons)) ch |= TILE_FLAG_PET; else if (mons_neutral(mons)) ch |= TILE_FLAG_NEUTRAL; @@ -4655,7 +4655,7 @@ void tile_place_monster(int gx, int gy, int idx, bool foreground, bool detected) else if (!mon->is_named()) return; - if (pref != TAGPREF_NAMED && mons_friendly_real(mon)) + if (pref != TAGPREF_NAMED && mons_friendly(mon)) return; // HACK. Names cover up pan demons in a weird way. |