diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-28 21:35:27 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-28 21:35:27 +0000 |
commit | 28364e961a56dcc73cf7d15562d253d392745642 (patch) | |
tree | f79a2de686ab7edc2a8e3c8d064008111706baeb /crawl-ref/source/view.cc | |
parent | 85d21b25c86fe94bbb39516fd8715530f308f605 (diff) | |
download | crawl-ref-28364e961a56dcc73cf7d15562d253d392745642.tar.gz crawl-ref-28364e961a56dcc73cf7d15562d253d392745642.zip |
Add more noise-related cleanups.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5318 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, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc index a0cc13a032..cfb056437c 100644 --- a/crawl-ref/source/view.cc +++ b/crawl-ref/source/view.cc @@ -1043,7 +1043,7 @@ void handle_monster_shouts(monsters* monster, bool force) } if (noise_level > 0) - noisy( noise_level, monster->x, monster->y ); + noisy(noise_level, monster->x, monster->y); } #ifdef WIZARD @@ -1455,13 +1455,13 @@ void cloud_grid(void) // player is appropriate. // // Returns true if the PC heard the noise. -bool noisy( int loudness, int nois_x, int nois_y, const char *msg ) +bool noisy(int loudness, int nois_x, int nois_y, const char *msg) { struct monsters *monster = 0; // NULL {dlb} bool ret = false; // If the origin is silenced there is no noise. - if (silenced( nois_x, nois_y )) + if (silenced(nois_x, nois_y)) return (false); const int dist = loudness * loudness; |