OSDN Git Service

[Fix] #40514 重複した赤外線視力pval修正を削除. / Removed duplicate infrared vision by pval addition.
authordeskull <deskull@users.sourceforge.jp>
Mon, 31 Aug 2020 15:10:56 +0000 (00:10 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Mon, 31 Aug 2020 15:10:56 +0000 (00:10 +0900)
src/player/player-status-flags.c

index aae150a..efdfe6f 100644 (file)
@@ -895,9 +895,6 @@ void has_extra_blow(player_type *creature_ptr)
             continue;
 
         object_flags(creature_ptr, o_ptr, flgs);
-
-        if (has_flag(flgs, TR_INFRA))
-            creature_ptr->see_infra += o_ptr->pval;
         if (has_flag(flgs, TR_BLOWS)) {
             if ((i == INVEN_RARM || i == INVEN_RIGHT) && !has_two_handed_weapons(creature_ptr))
                 creature_ptr->extra_blows[0] += o_ptr->pval;