Fix GitLab issue #13 - The "eat" command exhibits strange behavior

The problem wasn't actually with "eat" but with "grate".  Processing
of any two-word command with an object of "grate", when given at certain
locations including the start, inappropriately jumped directly
to the movement code (ignoring the verb).

There was a similar bug in the ancestral 2.5, though it manifested slightly
differently.
This commit is contained in:
Eric S. Raymond 2017-06-21 16:54:10 -04:00
parent 6dbe6f081c
commit fd6da15373
3 changed files with 6 additions and 10 deletions

View file

@ -47,9 +47,7 @@ A three foot black rod with a rusty star on an end lies nearby.
> eat grate
You're in debris room.
A three foot black rod with a rusty star on an end lies nearby.
Don't be ridiculous!
> w