Attempting voodoo change to banish GitLab error.
This shouldn't be necessary.
This commit is contained in:
parent
deb489cd8c
commit
08f77c692a
2 changed files with 8 additions and 1 deletions
2
advent.h
2
advent.h
|
@ -231,7 +231,7 @@ extern int suspend(void);
|
||||||
extern int resume(void);
|
extern int resume(void);
|
||||||
extern int restore(FILE *);
|
extern int restore(FILE *);
|
||||||
extern long initialise(void);
|
extern long initialise(void);
|
||||||
extern int action(command_t command);
|
extern int action(command_t);
|
||||||
extern void state_change(obj_t, int);
|
extern void state_change(obj_t, int);
|
||||||
extern bool is_valid(struct game_t);
|
extern bool is_valid(struct game_t);
|
||||||
|
|
||||||
|
|
7
main.c
7
main.c
|
@ -972,6 +972,13 @@ static void listobjects(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void clear_command(command_t *cmd)
|
||||||
|
{
|
||||||
|
cmd->verb = ACT_NULL;
|
||||||
|
game.oldobj = cmd->obj;
|
||||||
|
cmd->obj = NO_OBJECT;
|
||||||
|
}
|
||||||
|
|
||||||
static bool do_command()
|
static bool do_command()
|
||||||
/* Get and execute a command */
|
/* Get and execute a command */
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue