OSDN Git Service

自動破壊時にアイテム名が初期化されないまま使われてアイテム名の表示が狂うのを修正.
author_nothere <_nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 7 May 2002 17:21:35 +0000 (17:21 +0000)
committer_nothere <_nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 7 May 2002 17:21:35 +0000 (17:21 +0000)
src/autopick.c

index 8104012..7793e2a 100644 (file)
@@ -824,12 +824,12 @@ bool auto_destroy_item(s16b item, int autopick_idx)
        {
                disturb(0,0);
 
+               /* Describe the object (with {terrible/special}) */
+               object_desc(o_name, o_ptr, TRUE, 3);
+
                /* Artifact? */
                if (!can_player_destroy_object(o_ptr))
                {
-                       /* Describe the object (with {terrible/special}) */
-                       object_desc(o_name, o_ptr, TRUE, 3);
-
                        /* Message */
 #ifdef JP
                        msg_format("%s¤ÏÇ˲õÉÔǽ¤À¡£", o_name);