OSDN Git Service

In the English version, the string for the monster's alignment wasn't initialized...
authorEric Branlund <ebranlund@fastmail.com>
Wed, 11 Sep 2019 18:39:45 +0000 (11:39 -0700)
committerEric Branlund <ebranlund@fastmail.com>
Wed, 11 Sep 2019 18:39:45 +0000 (11:39 -0700)
src/spells2.c

index d629458..6c22815 100644 (file)
@@ -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");