OSDN Git Service

[Fix] クラスパワーでtextをinfoに代入していた(鏡使い分)
authoriks <iks3@users.noreply.github.com>
Fri, 23 Apr 2021 08:04:45 +0000 (17:04 +0900)
committeriks <iks3@users.noreply.github.com>
Fri, 23 Apr 2021 08:04:45 +0000 (17:04 +0900)
src/cmd-action/cmd-racial.cpp
src/racial/class-racial-switcher.cpp

index 2aa9d4f..aff4446 100644 (file)
@@ -53,7 +53,7 @@ static void racial_power_erase_cursor(rc_type *rc_ptr)
 static void racial_power_display_list(player_type *creature_ptr, rc_type *rc_ptr)
 {
     TERM_LEN x = 11;
-    char dummy[80];
+    char dummy[256];
     strcpy(dummy, "");
 
     prt(_("                                   Lv   MP 失率 効果", "                               Lv   MP Fail Effect"), 1, x);
index f4e01b4..3a14cd2 100644 (file)
@@ -306,7 +306,7 @@ void switch_class_racial(player_type *creature_ptr, rc_type *rc_ptr)
 
         rpi = rpi_type(_("静水", "Mirror Concentration"));
         rpi.info = format("%s%d", KWD_MANA, 3 + rc_ptr->lvl / 20);
-        rpi.info = _("精神を集中してMPを少し回復する。", "Concentrates deeply to heal your SP a little.");
+        rpi.text = _("精神を集中してMPを少し回復する。", "Concentrates deeply to heal your SP a little.");
         rpi.min_level = 30;
         rpi.cost = 0;
         rpi.stat = A_INT;