diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-03-25 15:40:04 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-03-25 16:14:53 +0200 |
commit | d9804648b6ec83383fac16761457d6dd5f62eab2 (patch) | |
tree | eb461c81f2c79301bf057d95624356599a4ee43a /crawl-ref/source/orb.cc | |
parent | f1ac58e51dbefb695286393e0692782951001178 (diff) | |
download | crawl-ref-d9804648b6ec83383fac16761457d6dd5f62eab2.tar.gz crawl-ref-d9804648b6ec83383fac16761457d6dd5f62eab2.zip |
Make some more functions static/gone.
Diffstat (limited to 'crawl-ref/source/orb.cc')
-rw-r--r-- | crawl-ref/source/orb.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/orb.cc b/crawl-ref/source/orb.cc index b527cc28d2..bbfd54db61 100644 --- a/crawl-ref/source/orb.cc +++ b/crawl-ref/source/orb.cc @@ -23,7 +23,7 @@ * occurred, otherwise false, denoting that flashing lights * occurred. **/ -bool orb_noise (const coord_def& where, int loudness) +static bool _orb_noise(const coord_def& where, int loudness) { // XXX: Fake noisy doesn't work. Oops. fake_noisy(loudness, where); @@ -52,9 +52,9 @@ bool orb_noise (const coord_def& where, int loudness) * @param msg The message to be printed if orb_noise returned true. * @param msg2 The message to be printed if orb_noise returned false. **/ -void orb_pickup_noise (const coord_def& where, int loudness, const char* msg, const char* msg2) +void orb_pickup_noise(const coord_def& where, int loudness, const char* msg, const char* msg2) { - if (orb_noise(where, loudness)) + if (_orb_noise(where, loudness)) { if (msg) mpr(msg, MSGCH_ORB); |