diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-03-10 18:41:54 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-03-10 19:02:23 +0100 |
commit | 8915788267bb1036c110195eb0a8826b6592cbd5 (patch) | |
tree | d60518d32b6d8f8090fa80670c78ffa074d4b58e /src/cmd5.hpp | |
parent | 7af6bc9b2ec5326181fee27dad9e465992b2b8a8 (diff) |
Split use_symbiotic_power() into two separate functions
This split makes it much clearer which functionality is being used at
call sites. We also eliminate a little bit of duplicate code.
Diffstat (limited to 'src/cmd5.hpp')
-rw-r--r-- | src/cmd5.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd5.hpp b/src/cmd5.hpp index 1b436f0d..4b116596 100644 --- a/src/cmd5.hpp +++ b/src/cmd5.hpp @@ -11,7 +11,8 @@ extern void do_cmd_browse(void); extern void fetch(int dir, int wgt, bool_ require_los); extern void do_poly_self(void); extern cptr symbiote_name(bool_ capitalize); -extern int use_symbiotic_power(int r_idx, bool great, bool no_cost); +extern int use_symbiotic_power(int r_idx, bool great); +extern void use_monster_power(int r_idx, bool great); extern bool_ is_ok_spell(s32b spell_idx, s32b pval); extern s32b get_school_spell(cptr do_what, s16b force_book); extern void do_cmd_copy_spell(void); |