Code cleanup.
This commit is contained in:
parent
9af3ab4ecd
commit
00c2182d9b
1 changed files with 2 additions and 5 deletions
7
misc.c
7
misc.c
|
@ -283,12 +283,10 @@ bool silent_yes_or_no(void)
|
|||
|
||||
free(firstword);
|
||||
|
||||
if (yes == 0 ||
|
||||
y == 0) {
|
||||
if (yes == 0 || y == 0) {
|
||||
outcome = true;
|
||||
break;
|
||||
} else if (no == 0 ||
|
||||
n == 0) {
|
||||
} else if (no == 0 || n == 0) {
|
||||
outcome = false;
|
||||
break;
|
||||
} else
|
||||
|
@ -569,7 +567,6 @@ void clear_command(command_t *cmd)
|
|||
cmd->state = EMPTY;
|
||||
}
|
||||
|
||||
|
||||
void juggle(obj_t object)
|
||||
/* Juggle an object by picking it up and putting it down again, the purpose
|
||||
* being to get the object to the front of the chain of things at its loc. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue