This shouldn't be necessary.
extern int resume(void);
extern int restore(FILE *);
extern long initialise(void);
extern int resume(void);
extern int restore(FILE *);
extern long initialise(void);
-extern int action(command_t command);
+extern int action(command_t);
extern void state_change(obj_t, int);
extern bool is_valid(struct game_t);
extern void state_change(obj_t, int);
extern bool is_valid(struct game_t);
+void clear_command(command_t *cmd)
+{
+ cmd->verb = ACT_NULL;
+ game.oldobj = cmd->obj;
+ cmd->obj = NO_OBJECT;
+}
+
static bool do_command()
/* Get and execute a command */
{
static bool do_command()
/* Get and execute a command */
{