diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:13 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:13 +0200 |
commit | 8c538df0f6f481c4ac70bf15d9f49621d21aa821 (patch) | |
tree | 3d23515c1bca6177c7a0a97e84296faf972ebd35 | |
parent | db062ebf4ce7dfed3c91fdf9d6d2d96115435145 (diff) |
Remove unused parameters from bldg.c:fix_item()
-rw-r--r-- | src/bldg.cc | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/bldg.cc b/src/bldg.cc index 63bb59a7..a1c38c9e 100644 --- a/src/bldg.cc +++ b/src/bldg.cc @@ -981,8 +981,7 @@ static bool_ compare_weapons(void) * sharpen arrows, repair armor, repair weapon * -KMW- */ -static bool_ fix_item(int istart, int iend, int ispecific, bool_ iac, - int ireward, bool_ set_reward) +static bool_ fix_item(int istart, int iend, int ispecific, bool_ iac) { int i; @@ -1216,15 +1215,13 @@ bool_ bldg_process_command(const store_type *s_ptr, store_action_type const *ba_ case BACT_ENCHANT_WEAPON: { - paid = fix_item(INVEN_WIELD, INVEN_WIELD, 0, FALSE, - BACT_ENCHANT_WEAPON, set_reward); + paid = fix_item(INVEN_WIELD, INVEN_WIELD, 0, FALSE); break; } case BACT_ENCHANT_ARMOR: { - paid = fix_item(INVEN_BODY, INVEN_FEET, 0, TRUE, - BACT_ENCHANT_ARMOR, set_reward); + paid = fix_item(INVEN_BODY, INVEN_FEET, 0, TRUE); break; } @@ -1290,15 +1287,13 @@ bool_ bldg_process_command(const store_type *s_ptr, store_action_type const *ba_ case BACT_ENCHANT_ARROWS: { - paid = fix_item(0, INVEN_WIELD, TV_ARROW, FALSE, - BACT_ENCHANT_ARROWS, set_reward); + paid = fix_item(0, INVEN_WIELD, TV_ARROW, FALSE); break; } case BACT_ENCHANT_BOW: { - paid = fix_item(INVEN_BOW, INVEN_BOW, TV_BOW, FALSE, - BACT_ENCHANT_BOW, set_reward); + paid = fix_item(INVEN_BOW, INVEN_BOW, TV_BOW, FALSE); break; } |