summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-wpnench.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-06-18 18:53:28 -0400
committerNeil Moore <neil@s-z.org>2014-06-18 18:53:28 -0400
commitfc9929fd999585ed8e39e45a2d873c1bee2f7633 (patch)
tree2f29d33bfceb9c61166b3c119e850f9c340b56d2 /crawl-ref/source/spl-wpnench.cc
parentc0acb25f08d5385c4db199e7f6bfc0a1345a12b1 (diff)
downloadcrawl-ref-fc9929fd999585ed8e39e45a2d873c1bee2f7633.tar.gz
crawl-ref-fc9929fd999585ed8e39e45a2d873c1bee2f7633.zip
Staticalisation.
Diffstat (limited to 'crawl-ref/source/spl-wpnench.cc')
-rw-r--r--crawl-ref/source/spl-wpnench.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-wpnench.cc b/crawl-ref/source/spl-wpnench.cc
index 1fdadab8fd..82e55731c3 100644
--- a/crawl-ref/source/spl-wpnench.cc
+++ b/crawl-ref/source/spl-wpnench.cc
@@ -59,7 +59,7 @@ static bool _ok_for_launchers(brand_type which_brand)
* @param is_range_weapon Whether the weapon is ranged.
* @return The message for the brand being applied.
*/
-string _get_brand_msg(brand_type which_brand, bool is_range_weapon)
+static string _get_brand_msg(brand_type which_brand, bool is_range_weapon)
{
string msg; // for distortion
switch (which_brand)
@@ -150,7 +150,7 @@ void end_weapon_brand(item_def &weapon, bool verbose)
* @param which_brand The type of brand.
* @return The duration modifier, default 10.
*/
- int _get_brand_duration(brand_type which_brand)
+static int _get_brand_duration(brand_type which_brand)
{
switch (which_brand)
{