OSDN Git Service

[refactor] #39076 /* Extract the item flags */ を削除。
authordeskull <deskull@users.sourceforge.jp>
Tue, 23 Apr 2019 13:03:15 +0000 (22:03 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Tue, 23 Apr 2019 13:03:15 +0000 (22:03 +0900)
src/dungeon.c
src/player-status.c

index 949a81b..01cb003 100644 (file)
@@ -2555,7 +2555,6 @@ static void process_world_aux_curse(void)
                                o_ptr = &inventory[i];
                                if (!o_ptr->k_idx) continue;
 
-                               /* Extract the item flags */
                                object_flags(o_ptr, flgs);
 
                                if (have_flag(flgs, TR_TELEPORT))
index 39a59d1..50f115d 100644 (file)
@@ -1270,7 +1270,6 @@ void calc_bonuses(void)
                o_ptr = &inventory[i];
                if (!o_ptr->k_idx) continue;
 
-               /* Extract the item flags */
                object_flags(o_ptr, flgs);
 
                p_ptr->cursed |= (o_ptr->curse_flags & (0xFFFFFFF0L));
@@ -3849,7 +3848,6 @@ s16b calc_num_fire(object_type *o_ptr)
                /* Do not apply current equip */
                if (i == INVEN_BOW) continue;
 
-               /* Extract the item flags */
                object_flags(q_ptr, flgs);
 
                /* Boost shots */