#include "object-hook.h"
#include "mutation.h"
#include "avatar.h"
+#include "spells.h"
#include "spells-status.h"
#include "player-status.h"
#include "player-effects.h"
+#include "player-race.h"
#include "realm-hex.h"
+#include "realm-song.h"
#include "spells-floor.h"
#include "object-broken.h"
#include "cmd-basic.h"
+#include "floor.h"
+#include "objectkind.h"
/*!
* @brief 薬を飲むコマンドのサブルーチン /
/* Get the item (in the pack) */
if (item >= 0)
{
- o_ptr = &inventory[item];
+ o_ptr = &p_ptr->inventory_list[item];
}
/* Get the item (on the floor) */
/* Single object */
q_ptr->number = 1;
- /* Reduce and describe inventory */
+ /* Reduce and describe p_ptr->inventory_list */
if (item >= 0)
{
inven_item_increase(item, -1);