OSDN Git Service

[Imprement] 赤外線視力の種族的/一時的有無の表示を追加。
[hengband/hengband.git] / src / player / temporary-resistances.c
index 522c358..2f91439 100644 (file)
@@ -28,6 +28,8 @@ void tim_player_flags(player_type *creature_ptr, BIT_FLAGS *flags)
 
     if (is_hero(creature_ptr) || is_shero(creature_ptr))
         add_flag(flags, TR_RES_FEAR);
+    if (creature_ptr->tim_infra)
+        add_flag(flags, TR_INFRA);
     if (creature_ptr->tim_invis)
         add_flag(flags, TR_SEE_INVIS);
     if (creature_ptr->tim_regen)