OSDN Git Service

[Fix] #40514 has_sustain_chr() のミス修正. / Fix has_sustain_chr().
authordeskull <deskull@users.sourceforge.jp>
Thu, 27 Aug 2020 15:43:17 +0000 (00:43 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Thu, 27 Aug 2020 15:43:17 +0000 (00:43 +0900)
src/player/player-status-flags.c

index d258a29..50c7b20 100644 (file)
@@ -676,7 +676,6 @@ BIT_FLAGS has_sustain_con(player_type *creature_ptr)
 BIT_FLAGS has_sustain_chr(player_type *creature_ptr)
 {
     BIT_FLAGS result = 0L;
-    creature_ptr->sustain_chr = FALSE;
 
     if (creature_ptr->ult_res) {
         result |= FLAG_CAUSE_MAGIC_TIME_EFFECT;