OSDN Git Service

[Refactor] #38997 set_slow() に player_type * 引数を追加.
[hengband/hengband.git] / src / cmd-usestaff.c
index 6ceddcd..73b2ec8 100644 (file)
@@ -49,7 +49,7 @@ int staff_effect(OBJECT_SUBTYPE_VALUE sval, bool *use_charge, bool powerful, boo
 
                case SV_STAFF_SLOWNESS:
                {
-                       if (set_slow(p_ptr->slow + randint1(30) + 15, FALSE)) ident = TRUE;
+                       if (set_slow(p_ptr, p_ptr->slow + randint1(30) + 15, FALSE)) ident = TRUE;
                        break;
                }