From 47af76db816439232f50d2fffe2f67fec9db5f3b Mon Sep 17 00:00:00 2001 From: deskull Date: Tue, 5 Mar 2019 14:05:24 +0900 Subject: [PATCH] =?utf8?q?[Refactor]=20#37353=20=E3=82=B3=E3=83=A1?= =?utf8?q?=E3=83=B3=E3=83=88=E6=95=B4=E7=90=86=E3=80=82=20/=20Refactor=20c?= =?utf8?q?omments.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/cmd-item.c | 2 -- src/cmd2.c | 1 - src/object2.c | 1 - src/spells3.c | 1 - 4 files changed, 5 deletions(-) diff --git a/src/cmd-item.c b/src/cmd-item.c index 72efe4d47..b575391c2 100644 --- a/src/cmd-item.c +++ b/src/cmd-item.c @@ -998,7 +998,6 @@ static void do_cmd_refill_lamp(void) floor_item_optimize(0 - item); } - /* Recalculate torch */ p_ptr->update |= (PU_TORCH); } @@ -1074,7 +1073,6 @@ static void do_cmd_refill_torch(void) floor_item_optimize(0 - item); } - /* Recalculate torch */ p_ptr->update |= (PU_TORCH); } diff --git a/src/cmd2.c b/src/cmd2.c index eedc244c8..bb277075b 100644 --- a/src/cmd2.c +++ b/src/cmd2.c @@ -2809,7 +2809,6 @@ bool do_cmd_throw(int mult, bool boomerang, OBJECT_IDX shuriken) /* Increment the equip counter by hand */ equip_cnt++; - /* Recalculate torch */ p_ptr->update |= (PU_BONUS | PU_TORCH | PU_MANA); p_ptr->window |= (PW_EQUIP); } diff --git a/src/object2.c b/src/object2.c index 715c3732a..9e3298135 100644 --- a/src/object2.c +++ b/src/object2.c @@ -5397,7 +5397,6 @@ void inven_item_optimize(INVENTORY_IDX item) object_wipe(&inventory[item]); p_ptr->update |= (PU_BONUS); - /* Recalculate torch */ p_ptr->update |= (PU_TORCH); /* Recalculate mana XXX */ diff --git a/src/spells3.c b/src/spells3.c index de9ea92f6..c05253a79 100644 --- a/src/spells3.c +++ b/src/spells3.c @@ -1220,7 +1220,6 @@ void phlogiston(void) msg_print(_("照明用アイテムは満タンになった。", "Your light item is full.")); } - /* Recalculate torch */ p_ptr->update |= (PU_TORCH); } -- 2.11.0