OSDN Git Service

[Refactor] #38997 set_action() に player_type * 引数を追加.
[hengband/hengband.git] / src / cmd-quaff.c
index 505bc80..2753d0c 100644 (file)
@@ -610,7 +610,7 @@ void do_cmd_quaff_potion(void)
 
        if (p_ptr->special_defense & (KATA_MUSOU | KATA_KOUKIJIN))
        {
-               set_action(ACTION_NONE);
+               set_action(p_ptr, ACTION_NONE);
        }
 
        /* Restrict choices to potions */