diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-26 12:43:29 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-26 12:43:29 +0000 |
commit | c6ad594b7e6f3e82f5a3d413eea184fb1d13ac3a (patch) | |
tree | 6be75f47e351108a36ca3d3e2c6126a07cd90877 /crawl-ref/source/view.cc | |
parent | 7e7f8035490e36b72f7ddecd23b4da8611e991d0 (diff) | |
download | crawl-ref-c6ad594b7e6f3e82f5a3d413eea184fb1d13ac3a.tar.gz crawl-ref-c6ad594b7e6f3e82f5a3d413eea184fb1d13ac3a.zip |
Some debugging fixes, once again.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9697 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r-- | crawl-ref/source/view.cc | 6 |
1 files changed, 2 insertions, 4 deletions
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); } } |