OSDN Git Service

モンスターが戦いを決意した時にヘルスバーが恐怖状態のまま更新されていなかったのを修正。
authorhabu <habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 6 Sep 2002 10:27:40 +0000 (10:27 +0000)
committerhabu <habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 6 Sep 2002 10:27:40 +0000 (10:27 +0000)
src/melee2.c

index 1b12fc1..757a94e 100644 (file)
@@ -3774,6 +3774,9 @@ msg_format("%^s
                        msg_format("%^s turns to fight!", m_name);
 #endif
 
+                       /* Redraw (later) if needed */
+                       if (p_ptr->health_who == m_idx) p_ptr->redraw |= (PR_HEALTH);
+
                        chg_virtue(V_COMPASSION, -1);
                }