From dd205f0f16150db04a01d1f1cfcffed8506eb1ee Mon Sep 17 00:00:00 2001 From: Eric Branlund Date: Sat, 14 Dec 2019 18:20:22 -0800 Subject: [PATCH] Made the "recover courage" part of spell_RF6_HEAL more compact since the possessive pronoun is also computed earlier in the function. --- src/mspells4.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/mspells4.c b/src/mspells4.c index 0683acfa7..81779086f 100644 --- a/src/mspells4.c +++ b/src/mspells4.c @@ -1847,15 +1847,7 @@ void spell_RF6_HEAL(MONSTER_IDX m_idx, MONSTER_IDX t_idx, int TARGET_TYPE) if (see_monster(m_idx)) { -#ifndef JP - char m_poss[80]; - - monster_desc( - m_poss, m_ptr, MD_PRON_VISIBLE | MD_POSSESSIVE); - msg_format("%^s recovers %s courage.", m_name, m_poss); -#else - msg_format("%^sは勇気を取り戻した。", m_name); -#endif + msg_format(_("%^sは勇気を取り戻した。", format("%%^s recovers %s courage.", m_poss))); } } } -- 2.11.0