diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-10-27 00:57:47 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-10-27 00:57:47 +0200 |
commit | 2d65edd2038fa2cef0e63f4014105e0ec0f93543 (patch) | |
tree | 202d709a1c4047099ee1c2cacfa3c8a8aeee7cb0 /crawl-ref/source/branch.cc | |
parent | ddeb6cd81a85c545c56dc28e2ec75721de274c8c (diff) | |
download | crawl-ref-2d65edd2038fa2cef0e63f4014105e0ec0f93543.tar.gz crawl-ref-2d65edd2038fa2cef0e63f4014105e0ec0f93543.zip |
Make some functions static, remove unused among those.
Diffstat (limited to 'crawl-ref/source/branch.cc')
-rw-r--r-- | crawl-ref/source/branch.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/crawl-ref/source/branch.cc b/crawl-ref/source/branch.cc index f1dcebdbb7..1beefab011 100644 --- a/crawl-ref/source/branch.cc +++ b/crawl-ref/source/branch.cc @@ -88,16 +88,11 @@ branch_type str_to_branch(const std::string &branch, branch_type err) return (err); } -int branch_ambient_noise(branch_type branch) -{ - return branches[branch].ambient_noise; -} - int current_level_ambient_noise() { switch (you.level_type) { case LEVEL_DUNGEON: - return branch_ambient_noise(you.where_are_you); + return branches[you.where_are_you].ambient_noise; case LEVEL_ABYSS: // should probably randomize this somehow - change it up when the // abyss shifts? |