OSDN Git Service

[Refactor] #37353 型の置換。 / Type replacement.
[hengband/hengband.git] / src / mutation.c
index fc9ae95..ffdf682 100644 (file)
  */
 
 #include "angband.h"
+#include "mutation.h"
+
 #include "selfinfo.h"
 #include "spells-summon.h"
+#include "avatar.h"
+#include "player-status.h"
+#include "spells-status.h"
 
 /*!
  * @brief プレイヤーに突然変異を与える
@@ -2345,7 +2350,7 @@ bool mutation_power_aux(int power)
                        break;
 
                default:
-                       p_ptr->energy_use = 0;
+                       free_turn(p_ptr);
                        msg_format(_("能力 %s は実装されていません。", "Power %s not implemented. Oops."), power);
        }