OSDN Git Service

slotが渡されるべきところにo_ptrが渡されていてコンパイルできなかったので修正.
author_nothere <_nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 13 May 2002 14:39:26 +0000 (14:39 +0000)
committer_nothere <_nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 13 May 2002 14:39:26 +0000 (14:39 +0000)
src/dungeon.c

index 17da5ab..4430093 100644 (file)
@@ -197,7 +197,7 @@ o_name, index_to_label(slot),game_inscriptions[feel]);
 
        /* Auto-inscription/destroy */
        idx = is_autopick(o_ptr);
-       auto_inscribe_item(o_ptr, idx);
+       auto_inscribe_item(slot, idx);
        auto_destroy_item(slot, idx);
 
        /* Combine / Reorder the pack (later) */