#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
-#include "advent.h"
-#include "dungeon.h"
#include <inttypes.h>
+#include "advent.h"
+
static phase_codes_t fill(verb_t, obj_t);
static phase_codes_t attack(command_t command)
if (command.obj == INTRANSITIVE) {
command.obj = NO_OBJECT;
for (int i = 1; i <= NOBJECTS; i++) {
- if (HERE(i) && objects[i].texts[0] != NULL && game.objects[i].prop >= 0)
+ if (HERE(i) && objects[i].texts[0] != NULL && !PROP_IS_STASHED(i))
command.obj = command.obj * NOBJECTS + i;
}
if (command.obj > NOBJECTS || command.obj == NO_OBJECT || DARK(game.loc))