OSDN Git Service

[Refactor] #37353 コメント整理。 / Refactor comments.
authordeskull <deskull@users.sourceforge.jp>
Tue, 5 Mar 2019 05:05:24 +0000 (14:05 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Tue, 5 Mar 2019 05:05:24 +0000 (14:05 +0900)
src/cmd-item.c
src/cmd2.c
src/object2.c
src/spells3.c

index 72efe4d..b575391 100644 (file)
@@ -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);
 }
 
index eedc244..bb27707 100644 (file)
@@ -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);
                }
index 715c373..9e32981 100644 (file)
@@ -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 */
index de9ea92..c05253a 100644 (file)
@@ -1220,7 +1220,6 @@ void phlogiston(void)
                msg_print(_("照明用アイテムは満タンになった。", "Your light item is full."));
        }
 
-       /* Recalculate torch */
        p_ptr->update |= (PU_TORCH);
 }