OSDN Git Service

[Refactor] #38852 更新処理タイミング再調整。 / Readjust update timing.
[hengband/hengband.git] / src / cmd-quaff.c
index 8c62657..5ace44e 100644 (file)
@@ -51,8 +51,6 @@ void do_cmd_quaff_potion_aux(INVENTORY_IDX item)
        {\r
                o_ptr = &o_list[0 - item];\r
        }\r
-\r
-       /* Get local object */\r
        q_ptr = &forge;\r
 \r
        /* Obtain a local object */\r
@@ -536,7 +534,7 @@ void do_cmd_quaff_potion_aux(INVENTORY_IDX item)
        }\r
 \r
        /* Combine / Reorder the pack (later) */\r
-       p_ptr->notice |= (PN_COMBINE | PN_REORDER);\r
+       p_ptr->update |= (PU_COMBINE | PU_REORDER);\r
 \r
        if (!(object_is_aware(q_ptr)))\r
        {\r
@@ -555,7 +553,6 @@ void do_cmd_quaff_potion_aux(INVENTORY_IDX item)
                gain_exp((lev + (p_ptr->lev >> 1)) / p_ptr->lev);\r
        }\r
 \r
-       /* Window stuff */\r
        p_ptr->window |= (PW_INVEN | PW_EQUIP | PW_PLAYER);\r
 \r
        /* Potions can feed the player */\r
@@ -629,7 +626,6 @@ void do_cmd_quaff_potion(void)
        /* Restrict choices to potions */\r
        item_tester_hook = item_tester_hook_quaff;\r
 \r
-       /* Get an item */\r
        q = _("どの薬を飲みますか? ", "Quaff which potion? ");\r
        s = _("飲める薬がない。", "You have no potions to quaff.");\r
 \r