From 2f74f20958b09901f256a3596aaae9ab309f9445 Mon Sep 17 00:00:00 2001 From: nothere Date: Thu, 12 Feb 2004 14:54:36 +0000 Subject: [PATCH] =?utf8?q?=E6=97=A2=E7=9F=A5=E7=94=9F=E5=AD=98=E3=83=A6?= =?utf8?q?=E3=83=8B=E3=83=BC=E3=82=AF=E3=83=AA=E3=82=B9=E3=83=88=E3=81=AB?= =?utf8?q?=E3=83=AC=E3=82=A2=E5=BA=A6101=E4=BB=A5=E4=B8=8A=E3=81=AE?= =?utf8?q?=E4=B8=80=E8=88=AC=E5=87=BA=E7=8F=BE=E3=81=97=E3=81=AA=E3=81=84?= =?utf8?q?=E3=83=A2=E3=83=B3=E3=82=B9=E3=82=BF=E3=83=BC=E3=82=92=E8=A1=A8?= =?utf8?q?=E7=A4=BA=20=E3=81=97=E3=81=AA=E3=81=84=E3=82=88=E3=81=86?= =?utf8?q?=E3=81=AB=E5=A4=89=E6=9B=B4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/cmd4.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cmd4.c b/src/cmd4.c index 81370f6bb..dd934777d 100644 --- a/src/cmd4.c +++ b/src/cmd4.c @@ -6610,8 +6610,8 @@ static void do_cmd_knowledge_uniques(void) { monster_race *r_ptr = &r_info[who[k]]; - /* Only print Uniques */ - if (r_ptr->flags1 & (RF1_UNIQUE)) + /* Only print Uniques (rarity <= 100) */ + if ((r_ptr->flags1 & RF1_UNIQUE) && r_ptr->rarity && (r_ptr->rarity <= 100)) { bool dead = (r_ptr->max_num == 0); @@ -6628,7 +6628,6 @@ static void do_cmd_knowledge_uniques(void) fprintf(fff, " %s is alive\n", (r_name + r_ptr->name)); #endif - } } } -- 2.11.0