Don't zero stuff twice

This commit is contained in:
NHOrus 2017-07-07 11:18:02 +03:00
parent 51b6b52dc8
commit ef97d579ea
2 changed files with 5 additions and 5 deletions

3
main.c
View file

@ -1014,9 +1014,7 @@ static bool do_command()
listobjects();
L2012:
command.verb = 0;
game.oldobj = command.obj;
command.obj = 0;
L2600:
checkhints();
@ -1047,6 +1045,7 @@ L2600:
return (false);
if (word_count(input) > 2) {
rspeak(TWO_WORDS);
free(input);
continue;
}
if (strcmp(input, "") != 0)