OSDN Git Service

[Refactor] #38997 set_slow() に player_type * 引数を追加.
[hengband/hengband.git] / src / cmd-quaff.c
index 8c95f07..4eff4cb 100644 (file)
@@ -128,7 +128,7 @@ void exe_quaff_potion(INVENTORY_IDX item)
                        break;
 
                case SV_POTION_SLOWNESS:
-                       if (set_slow(randint1(25) + 15, FALSE)) ident = TRUE;
+                       if (set_slow(p_ptr, randint1(25) + 15, FALSE)) ident = TRUE;
                        break;
 
                case SV_POTION_SALT_WATER: