diff options
-rw-r--r-- | crawl-ref/source/monplace.cc | 3 | ||||
-rw-r--r-- | crawl-ref/source/view.cc | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc index 7673208de5..c6de904529 100644 --- a/crawl-ref/source/monplace.cc +++ b/crawl-ref/source/monplace.cc @@ -724,7 +724,6 @@ int place_monster(mgen_data mg, bool force_pos) #ifdef DEBUG_MON_CREATION mpr("in place_monster()", MSGCH_DIAGNOSTICS); #endif -// mg.proximity = PROX_NEAR_STAIRS; int tries = 0; dungeon_char_type stair_type = NUM_DCHAR_TYPES; @@ -784,7 +783,7 @@ int place_monster(mgen_data mg, bool force_pos) { tries = 0; - // Try to pick position that is + // Try to pick a position that is // a) not occupied // b) compatible // c) in the 'correct' proximity to the player diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc index 9112584216..348bf674cc 100644 --- a/crawl-ref/source/view.cc +++ b/crawl-ref/source/view.cc @@ -1007,8 +1007,8 @@ void flush_comes_into_view() void handle_monster_shouts(monsters* monster, bool force) { -// if (!force && x_chance_in_y(you.skills[SK_STEALTH], 30)) -// return; + if (!force && x_chance_in_y(you.skills[SK_STEALTH], 30)) + return; // Friendly or neutral monsters don't shout. if (!force && (mons_friendly(monster) || mons_neutral(monster))) @@ -1207,10 +1207,8 @@ void handle_monster_shouts(monsters* monster, bool force) // Otherwise it can move away with no feedback. if (you.can_see(monster)) { -/* if (!(monster->flags & MF_WAS_IN_VIEW)) handle_seen_interrupt(monster); -*/ seen_monster(monster); } } |