summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monplace.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-06 05:56:50 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-06 05:56:50 +0000
commitbd1d91f4b91afaf8dd80c329c78b775f43382b87 (patch)
tree38c0cfd9f7268aa1eeb200e19996f63bf24f62b9 /crawl-ref/source/monplace.cc
parent7cd64c37c6b36806e99e92e59581447c9b91560a (diff)
downloadcrawl-ref-bd1d91f4b91afaf8dd80c329c78b775f43382b87.tar.gz
crawl-ref-bd1d91f4b91afaf8dd80c329c78b775f43382b87.zip
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
Diffstat (limited to 'crawl-ref/source/monplace.cc')
-rw-r--r--crawl-ref/source/monplace.cc40
1 files changed, 20 insertions, 20 deletions
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().