From 9aeeec1c3739c3079109a8f5f1b4e70349ec00e9 Mon Sep 17 00:00:00 2001 From: _nothere <_nothere@0568b783-4c39-0410-ac80-bf13821ea2a2> Date: Sat, 1 Jun 2002 15:48:52 +0000 Subject: [PATCH] =?utf8?q?=E5=BA=97=E3=81=A7=E8=B2=B7=E3=81=A3=E3=81=9F?= =?utf8?q?=E3=82=A2=E3=82=A4=E3=83=86=E3=83=A0=E3=81=AB=E3=82=82=E8=87=AA?= =?utf8?q?=E5=8B=95=E9=8A=98=E5=88=BB=E3=81=BF=E3=82=92=E9=81=A9=E7=94=A8.?= =?utf8?q?=20=E8=87=AA=E5=8B=95=E7=A0=B4=E5=A3=8A=E3=81=AF=E8=A1=8C?= =?utf8?q?=E3=82=8F=E3=81=AA=E3=81=84.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/store.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/store.c b/src/store.c index 0c8569e56..783af3681 100644 --- a/src/store.c +++ b/src/store.c @@ -3352,6 +3352,8 @@ msg_format("%s(%c) /* Player can afford it */ if (p_ptr->au >= price) { + int idx; + /* Say "okay" */ say_comment_1(); @@ -3416,6 +3418,9 @@ msg_format("%s o_name, index_to_label(item_new)); #endif + /* Auto-inscription */ + idx = is_autopick(&inventory[item_new]); + auto_inscribe_item(item_new, idx); /* Now, reduce the original stack's pval. */ if ((o_ptr->tval == TV_ROD) || (o_ptr->tval == TV_WAND)) -- 2.11.0