OSDN Git Service

ノ荵豢ヨー网テ、ニ・ッ・鬣テ・キ・螟キ、ニ、ソ、ホ、ヌス、タオ。」
authormogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 6 May 2002 10:16:15 +0000 (10:16 +0000)
committermogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 6 May 2002 10:16:15 +0000 (10:16 +0000)
src/autopick.c

index 6add888..9faba93 100644 (file)
@@ -928,7 +928,7 @@ void auto_pickup_items(cave_type *c_ptr)
                 */
                else
                {
-                       if (auto_destroy_item(this_o_idx, (!always_pickup ? idx : -2)))
+                       if (auto_destroy_item((-this_o_idx), (!always_pickup ? idx : -2)))
                                continue;
                }
        }