diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-10-15 01:55:59 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-10-15 01:55:59 +0200 |
commit | 555734fcd3aef4c83605d70d0456dda28b7b5ace (patch) | |
tree | 9c34fe5bc58d5f3d4c0a7622045adc7aa1d17a98 /crawl-ref/source/shout.cc | |
parent | acf5187334f2cfb983a1a8de07d1e77f73e4283a (diff) | |
download | crawl-ref-555734fcd3aef4c83605d70d0456dda28b7b5ace.tar.gz crawl-ref-555734fcd3aef4c83605d70d0456dda28b7b5ace.zip |
Massive spacing fixes: "( spaces after parentheses )".
I did review it manually to find places where they made sense (like some
tables), but for a massive sed job like this there might be places that
I missed.
Diffstat (limited to 'crawl-ref/source/shout.cc')
-rw-r--r-- | crawl-ref/source/shout.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/shout.cc b/crawl-ref/source/shout.cc index e1d0bbe14e..85a4372355 100644 --- a/crawl-ref/source/shout.cc +++ b/crawl-ref/source/shout.cc @@ -413,13 +413,13 @@ bool noisy(int loudness, const coord_def& where, const char *msg, int who, return (false); const int dist = loudness * loudness + 1; - const int player_distance = distance( you.pos(), where ); + const int player_distance = distance(you.pos(), where); // Message the player. - if (player_distance <= dist && player_can_hear( where )) + if (player_distance <= dist && player_can_hear(where)) { if (msg) - mpr( msg, MSGCH_SOUND ); + mpr(msg, MSGCH_SOUND); you.check_awaken(dist - player_distance); |