From a759d3dcfcbb3dfd2aae24fc70113303ea5b6be4 Mon Sep 17 00:00:00 2001 From: backwardsEric Date: Wed, 11 Sep 2019 11:39:45 -0700 Subject: [PATCH] In the English version, the string for the monster's alignment wasn't initialized in one branch of the code handling probing. --- src/spells2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spells2.c b/src/spells2.c index d6294589..6c22815f 100644 --- a/src/spells2.c +++ b/src/spells2.c @@ -1278,7 +1278,7 @@ bool probing(void) if ((r_ptr->flags3 & (RF3_EVIL | RF3_GOOD)) == (RF3_EVIL | RF3_GOOD)) align = _("善悪", "good&evil"); else if (r_ptr->flags3 & RF3_EVIL) align = _("邪悪", "evil"); else if (r_ptr->flags3 & RF3_GOOD) align = _("善良", "good"); - else if ((m_ptr->sub_align & (SUB_ALIGN_EVIL | SUB_ALIGN_GOOD)) == (SUB_ALIGN_EVIL | SUB_ALIGN_GOOD)) _(align = "中立(善悪)", "neutral(good&evil)"); + else if ((m_ptr->sub_align & (SUB_ALIGN_EVIL | SUB_ALIGN_GOOD)) == (SUB_ALIGN_EVIL | SUB_ALIGN_GOOD)) align = _("中立(善悪)", "neutral(good&evil)"); else if (m_ptr->sub_align & SUB_ALIGN_EVIL) align = _("中立(邪悪)", "neutral(evil)"); else if (m_ptr->sub_align & SUB_ALIGN_GOOD) align = _("中立(善良)", "neutral(good)"); else align = _("中立", "neutral"); -- 2.20.1 (Apple Git-117)