#include "angband.h"
-#include "util.h"
-
-#include "player-race.h"
+#include "projection.h"
#include "spells-summon.h"
#include "avatar.h"
#include "player-status.h"
-#include "player-effects.h"
-#include "spells.h"
#include "spells-status.h"
-#include "spells-floor.h"
-#include "object-hook.h"
-#include "cmd-basic.h"
-#include "floor.h"
-#include "objectkind.h"
-#include "view-mainwindow.h"
const int times = randint1(powerful ? 8 : 4);
for (k = 0; k < times; k++)
{
- if (summon_specific(0, p_ptr->y, p_ptr->x, current_floor_ptr->dun_level, 0, (PM_ALLOW_GROUP | PM_ALLOW_UNIQUE | PM_NO_PET)))
+ if (summon_specific(0, p_ptr->y, p_ptr->x, current_floor_ptr->dun_level, 0, (PM_ALLOW_GROUP | PM_ALLOW_UNIQUE | PM_NO_PET), '\0'))
{
ident = TRUE;
}
/* Get the item (in the pack) */
if (item >= 0)
{
- o_ptr = &p_ptr->inventory_list[item];
+ o_ptr = &inventory[item];
}
/* Get the item (on the floor) */