OSDN Git Service

[Refactor] #38997 set_fast() に player_type * 引数を追加.
[hengband/hengband.git] / src / core.c
index 689a29c..c38320a 100644 (file)
@@ -1971,7 +1971,7 @@ static void process_world_aux_timeout(void)
        /* Fast */
        if (p_ptr->fast)
        {
-               (void)set_fast(p_ptr->fast - 1, TRUE);
+               (void)set_fast(p_ptr, p_ptr->fast - 1, TRUE);
        }
 
        /* Slow */
@@ -2278,7 +2278,7 @@ static void process_world_aux_mutation(void)
 
                        if (p_ptr->fast > 0)
                        {
-                               set_fast(0, TRUE);
+                               set_fast(p_ptr, 0, TRUE);
                        }
                        else
                        {
@@ -2295,7 +2295,7 @@ static void process_world_aux_mutation(void)
                        }
                        else
                        {
-                               set_fast(randint1(30) + 10, FALSE);
+                               set_fast(p_ptr, randint1(30) + 10, FALSE);
                        }
                }
                msg_print(NULL);