OSDN Git Service

[Refactor] #38993 o_list と max_o_idx を floor_type に取り込む。 / Move o_list and max_o_idx...
[hengband/hengband.git] / src / cmd-quaff.c
index ff934ec..f8b4822 100644 (file)
@@ -54,7 +54,7 @@ void do_cmd_quaff_potion_aux(INVENTORY_IDX item)
        /* Get the item (on the floor) */
        else
        {
-               o_ptr = &o_list[0 - item];
+               o_ptr = &current_floor_ptr->o_list[0 - item];
        }
        q_ptr = &forge;