OSDN Git Service

[Refactor] #37353 型の置換(C_MAKE)。 / Type replacement(C_MAKE).
[hengband/hengband.git] / src / mutation.c
index b9759ac..2e66d22 100644 (file)
@@ -22,7 +22,7 @@
 bool gain_random_mutation(int choose_mut)
 {
        int attempts_left = 20;
-       cptr muta_desc = "";
+       concptr muta_desc = "";
        bool muta_chosen = FALSE;
        BIT_FLAGS muta_which = 0;
        BIT_FLAGS *muta_class = NULL;
@@ -860,7 +860,7 @@ bool gain_random_mutation(int choose_mut)
 bool lose_mutation(int choose_mut)
 {
        int attempts_left = 20;
-       cptr muta_desc = "";
+       concptr muta_desc = "";
        bool muta_chosen = FALSE;
        BIT_FLAGS muta_which = 0;
        BIT_FLAGS *muta_class = NULL;
@@ -2269,7 +2269,7 @@ bool mutation_power_aux(int power)
                        break;
 
                case MUT1_RECALL:
-                       if (!word_of_recall()) return FALSE;
+                       if (!recall_player(p_ptr, randint0(21) + 15)) return FALSE;
                        break;
 
                case MUT1_BANISH: