From bd1d91f4b91afaf8dd80c329c78b775f43382b87 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Tue, 6 Mar 2007 05:56:50 +0000 Subject: Kill hard tabs. redraw_dexterity now implies redraw_evasion. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@987 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/monplace.cc | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'crawl-ref/source/monplace.cc') diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc index 031216d9f2..e743667e80 100644 --- a/crawl-ref/source/monplace.cc +++ b/crawl-ref/source/monplace.cc @@ -607,7 +607,7 @@ static int place_monster_aux( int mon_type, char behaviour, int target, mark_interesting_monst(&menv[id], behaviour); if (player_monster_visible(&menv[id]) && mons_near(&menv[id])) - seen_monster(&menv[id]); + seen_monster(&menv[id]); return (id); } // end place_monster_aux() @@ -1137,35 +1137,35 @@ void mark_interesting_monst(struct monsters* monster, char behaviour) // Unique monsters are always intersting if ( mons_is_unique(monster->type) ) - interesting = true; + interesting = true; // If it's never going to attack us, then not interesting else if (behaviour == BEH_FRIENDLY || behaviour == BEH_GOD_GIFT) - interesting = false; + interesting = false; // Don't waste time on moname() if user isn't using this option else if ( Options.note_monsters.size() > 0 ) { char namebuf[ITEMNAME_SIZE]; - moname(monster->type, true, DESC_NOCAP_A, namebuf); - - std::string iname = namebuf; - - for (unsigned i = 0; i < Options.note_monsters.size(); ++i) { - if (Options.note_monsters[i].matches(iname)) { - interesting = true; - break; - } - } + moname(monster->type, true, DESC_NOCAP_A, namebuf); + + std::string iname = namebuf; + + for (unsigned i = 0; i < Options.note_monsters.size(); ++i) { + if (Options.note_monsters[i].matches(iname)) { + interesting = true; + break; + } + } } else if ( you.where_are_you == BRANCH_MAIN_DUNGEON && - you.level_type == LEVEL_DUNGEON && - mons_level(monster->type) >= you.your_level + ood_limit() && - mons_level(monster->type) < 99 && - !(monster->type >= MONS_EARTH_ELEMENTAL && - monster->type <= MONS_AIR_ELEMENTAL) ) - interesting = true; + you.level_type == LEVEL_DUNGEON && + mons_level(monster->type) >= you.your_level + ood_limit() && + mons_level(monster->type) < 99 && + !(monster->type >= MONS_EARTH_ELEMENTAL && + monster->type <= MONS_AIR_ELEMENTAL) ) + interesting = true; if ( interesting ) - monster->flags |= MF_INTERESTING; + monster->flags |= MF_INTERESTING; } // PUBLIC FUNCTION -- mons_place(). -- cgit v1.2.3-54-g00ecf