From 699c46d9586cdde0305ae1844f297f7ada38d2bd Mon Sep 17 00:00:00 2001 From: nothere Date: Sat, 23 Aug 2003 14:14:50 +0000 Subject: [PATCH] =?utf8?q?{%!!}=E3=81=A8=E3=81=84=E3=81=86=E9=8A=98?= =?utf8?q?=E3=81=8C=E5=88=BB=E3=81=BE=E3=82=8C=E3=81=9F=E5=A0=B4=E5=90=88?= =?utf8?q?=E3=81=AB=E6=9C=80=E5=BE=8C=E3=81=AE'!'=E3=81=AE=E5=8F=B3?= =?utf8?q?=E5=81=B4=E3=81=8C=E6=96=87=E5=AD=97=E5=88=97=E7=B5=82=E7=AB=AF?= =?utf8?q?=E3=81=AE'\0'=E3=81=A7=E3=81=82=E3=82=8A,=20command=5Fcmd=20=3D?= =?utf8?q?=3D=200=E3=81=AB=E3=83=92=E3=83=83=E3=83=88=E3=81=97=E3=81=9F?= =?utf8?q?=E7=B5=90=E6=9E=9C,=20=E7=A2=BA=E8=AA=8D=E3=81=8C=E5=87=BA?= =?utf8?q?=E3=81=A6=E3=81=97=E3=81=BE=E3=81=86=E3=83=90=E3=82=B0=E3=82=92?= =?utf8?q?=E4=BF=AE=E6=AD=A3.=20{!!}=E3=81=AE=20=E9=8A=98=E3=81=AFget=5Fit?= =?utf8?q?em=5Fallow()=E5=86=85=E3=81=A7=E3=81=AF=E7=84=A1=E8=A6=96?= =?utf8?q?=E3=81=99=E3=82=8B=E3=81=93=E3=81=A8=E3=81=A8=E3=81=97=E3=81=9F.?= =?utf8?q?=201.68=E3=81=A7=E3=81=AEcommand=5Fcmd=20=3D=200=20=E3=81=A8?= =?utf8?q?=E3=81=99=E3=82=8B=E5=A4=89=E6=9B=B4=E3=81=AB=E3=82=88=E3=82=8B?= =?utf8?q?=E3=82=A8=E3=83=B3=E3=83=90=E3=82=B0=E3=81=A7=E3=81=82=E3=81=A3?= =?utf8?q?=E3=81=9F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/object1.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/object1.c b/src/object1.c index 2ab40a423..396f898f0 100644 --- a/src/object1.c +++ b/src/object1.c @@ -5376,8 +5376,11 @@ static bool get_item_allow(int item) /* Process preventions */ while (s) { + /* Ignore the "!!" inscription */ + if (s[1] == '!') s++; + /* Check the "restriction" */ - if ((s[1] == command_cmd) || (s[1] == '*')) + else if ((s[1] == command_cmd) || (s[1] == '*')) { /* Verify the choice */ #ifdef JP -- 2.11.0