OSDN Git Service

鑑定のロッドの使用後に自動破棄があったときのバグ修正。
[hengband/hengband.git] / src / spells3.c
index 0988e5b..7ede2d2 100644 (file)
@@ -2631,7 +2631,7 @@ static bool item_tester_hook_identify_weapon_armour(object_type *o_ptr)
  * This routine does *not* automatically combine objects.
  * Returns TRUE if something was identified, else FALSE.
  */
-bool ident_spell(bool only_equip, bool wait_optimize)
+bool ident_spell(bool only_equip)
 {
        int             item;
        object_type     *o_ptr;
@@ -2718,7 +2718,7 @@ s = "
        idx = is_autopick(o_ptr);
        auto_inscribe_item(item, idx);
        if (destroy_identify && !old_known)
-                auto_destroy_item(item, idx, wait_optimize);
+                auto_destroy_item(item, idx);
 
        /* Something happened */
        return (TRUE);
@@ -2808,7 +2808,7 @@ static bool item_tester_hook_identify_fully_weapon_armour(object_type *o_ptr)
  * Fully "identify" an object in the inventory  -BEN-
  * This routine returns TRUE if an item was identified.
  */
-bool identify_fully(bool only_equip, bool wait_optimize)
+bool identify_fully(bool only_equip)
 {
        int             item;
        object_type     *o_ptr;
@@ -2901,7 +2901,7 @@ s = "
        idx = is_autopick(o_ptr);
        auto_inscribe_item(item, idx);
        if (destroy_identify && !old_known)
-                auto_destroy_item(item, idx, wait_optimize);
+                auto_destroy_item(item, idx);
 
        /* Success */
        return (TRUE);