diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-11-19 06:01:48 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-11-19 17:13:16 +0100 |
commit | 55d2fedf082b3705c8cb4c249e594e3f44bd217a (patch) | |
tree | f2648ab656a2dc2da19d0d3cda81f2d9c9280352 /crawl-ref/source/player-equip.cc | |
parent | 859395c47d1cee12c4987c4580f80add91c1f4c4 (diff) | |
download | crawl-ref-55d2fedf082b3705c8cb4c249e594e3f44bd217a.tar.gz crawl-ref-55d2fedf082b3705c8cb4c249e594e3f44bd217a.zip |
Make a couple of functions static.
Diffstat (limited to 'crawl-ref/source/player-equip.cc')
-rw-r--r-- | crawl-ref/source/player-equip.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/player-equip.cc b/crawl-ref/source/player-equip.cc index fa72cb96dd..367cd28a8a 100644 --- a/crawl-ref/source/player-equip.cc +++ b/crawl-ref/source/player-equip.cc @@ -37,7 +37,7 @@ static void _equip_effect(equipment_type slot, int item_slot, bool unmeld, static void _unequip_effect(equipment_type slot, int item_slot, bool meld, bool msg); -void calc_hp_artefact() +static void _calc_hp_artefact() { // Rounding must be down or Deep Dwarves would abuse certain values. // We can reduce errors by a factor of 100 by using partial hp we have. @@ -346,7 +346,7 @@ static void _equip_artefact_effect(item_def &item, bool *show_msgs, bool unmeld) } if (proprt[ARTP_HP]) - calc_hp_artefact(); + _calc_hp_artefact(); // Let's try this here instead of up there. if (proprt[ARTP_MAGICAL_POWER]) @@ -385,7 +385,7 @@ static void _unequip_artefact_effect(item_def &item, } if (proprt[ARTP_HP]) - calc_hp_artefact(); + _calc_hp_artefact(); if (proprt[ARTP_MAGICAL_POWER] && !known[ARTP_MAGICAL_POWER] && msg) { |