From 7e7c0110e7e39031a20c25146cd8a24b568c08b5 Mon Sep 17 00:00:00 2001 From: habu Date: Tue, 5 Jan 2010 07:51:40 +0000 Subject: [PATCH] =?utf8?q?=E9=87=8D=E9=87=8F0=E3=81=AE=E3=82=A2=E3=82=A4?= =?utf8?q?=E3=83=86=E3=83=A0=E3=82=92=E3=82=B5=E3=83=96=E3=82=A6=E3=82=A3?= =?utf8?q?=E3=83=B3=E3=83=89=E3=82=A6=E3=81=A7=E8=A1=A8=E7=A4=BA=E3=81=97?= =?utf8?q?=E3=81=9F=E6=99=82=E3=81=AB=E9=87=8D=E9=87=8F=E3=81=AE=E8=A1=A8?= =?utf8?q?=E7=A4=BA=E3=81=8C=E7=84=A1=E3=81=8F=E3=81=AA=E3=82=89=E3=81=AA?= =?utf8?q?=E3=81=84=E3=82=88=E3=81=86=E3=81=AB=E4=BF=AE=E6=AD=A3=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/object1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/object1.c b/src/object1.c index e35dcba8d..ce3ab3b28 100644 --- a/src/object1.c +++ b/src/object1.c @@ -4424,7 +4424,7 @@ void display_inven(void) Term_erase(3+n, i, 255); /* Display the weight if needed */ - if (show_weights && o_ptr->weight) + if (show_weights) { int wgt = o_ptr->weight * o_ptr->number; #ifdef JP @@ -4516,7 +4516,7 @@ void display_equip(void) Term_erase(3+n, i - INVEN_RARM, 255); /* Display the weight (if needed) */ - if (show_weights && o_ptr->weight) + if (show_weights) { int wgt = o_ptr->weight * o_ptr->number; #ifdef JP -- 2.11.0