Remove unnecessary clearing of command verb.

This commit is contained in:
Eric S. Raymond 2017-07-31 17:40:25 -04:00
parent e50f1b8a7b
commit 878efdddfb

2
main.c
View file

@ -970,8 +970,6 @@ static bool do_command()
{ {
static struct command_t command; static struct command_t command;
command.verb = 0;
/* Can't leave cave once it's closing (except by main office). */ /* Can't leave cave once it's closing (except by main office). */
if (OUTSID(game.newloc) && game.newloc != 0 && game.closng) { if (OUTSID(game.newloc) && game.newloc != 0 && game.closng) {
rspeak(EXIT_CLOSED); rspeak(EXIT_CLOSED);