summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-28 21:35:27 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-28 21:35:27 +0000
commit28364e961a56dcc73cf7d15562d253d392745642 (patch)
treef79a2de686ab7edc2a8e3c8d064008111706baeb /crawl-ref/source/view.cc
parent85d21b25c86fe94bbb39516fd8715530f308f605 (diff)
downloadcrawl-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.cc6
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;