• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisiond8c5d409c4d247d007f94d63684f3495b10b0744 (tree)
Zeit2019-04-23 22:03:15
Autordeskull <deskull@user...>
Commiterdeskull

Log Message

[refactor] #39076 /* Extract the item flags */ を削除。

Ändern Zusammenfassung

Diff

--- a/src/dungeon.c
+++ b/src/dungeon.c
@@ -2555,7 +2555,6 @@ static void process_world_aux_curse(void)
25552555 o_ptr = &inventory[i];
25562556 if (!o_ptr->k_idx) continue;
25572557
2558- /* Extract the item flags */
25592558 object_flags(o_ptr, flgs);
25602559
25612560 if (have_flag(flgs, TR_TELEPORT))
--- a/src/player-status.c
+++ b/src/player-status.c
@@ -1270,7 +1270,6 @@ void calc_bonuses(void)
12701270 o_ptr = &inventory[i];
12711271 if (!o_ptr->k_idx) continue;
12721272
1273- /* Extract the item flags */
12741273 object_flags(o_ptr, flgs);
12751274
12761275 p_ptr->cursed |= (o_ptr->curse_flags & (0xFFFFFFF0L));
@@ -3849,7 +3848,6 @@ s16b calc_num_fire(object_type *o_ptr)
38493848 /* Do not apply current equip */
38503849 if (i == INVEN_BOW) continue;
38513850
3852- /* Extract the item flags */
38533851 object_flags(q_ptr, flgs);
38543852
38553853 /* Boost shots */
Show on old repository browser