OSDN Git Service

[Refactor] 無駄な空白、改行の削除、includeのソート
[hengband/hengband.git] / src / cmd-action / cmd-mane.c
index c0866d4..9e951f9 100644 (file)
@@ -35,6 +35,7 @@
 #include "monster/monster-status.h"
 #include "mspell/monster-power-table.h"
 #include "mspell/mspell-type.h"
+#include "player/player-status-table.h"
 #include "player/player-status.h"
 #include "spell-kind/spells-launcher.h"
 #include "spell-kind/spells-lite.h"
@@ -134,7 +135,7 @@ static int get_mane_power(player_type *caster_ptr, int *sn, bool baigaesi)
     PERCENTAGE chance = 0;
     int ask;
     char choice;
-    char out_val[160];
+    char out_val[MAX_MONSTER_NAME];
     char comment[80];
     concptr p = _("能力", "power");
 
@@ -303,7 +304,6 @@ static bool use_mane(player_type *caster_ptr, int spell)
 
     /* spell code */
     switch (spell) {
-
     case MS_SHRIEK:
         msg_print(_("かん高い金切り声をあげた。", "You make a high pitched shriek."));
         aggravate_monsters(caster_ptr, 0);
@@ -1139,4 +1139,4 @@ bool do_cmd_mane(player_type *creature_ptr, bool baigaesi)
     creature_ptr->window |= (PW_SPELL);
 
     return TRUE;
-}
+}
\ No newline at end of file