diff options
Diffstat (limited to 'src/melee2.cc')
-rw-r--r-- | src/melee2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/melee2.cc b/src/melee2.cc index ce2f11a2..b3aa5c61 100644 --- a/src/melee2.cc +++ b/src/melee2.cc @@ -5673,7 +5673,7 @@ static bool_ monst_attack_monst(int m_idx, int t_idx) /* Message */ if (act) { - strfmt(temp, act, t_name); + strnfmt(temp, sizeof(temp), act, t_name); if (m_ptr->ml || t_ptr->ml) monster_msg("%^s %s", m_name, temp); |