Fixed feed command and white space in tests

This commit is contained in:
NHOrus 2017-07-05 20:03:55 +03:00 committed by Eric S. Raymond
parent 7137c20316
commit 603f548a21
2 changed files with 5 additions and 3 deletions

View file

@ -649,7 +649,8 @@ static int feed(token_t verb, token_t obj)
if (HERE(FOOD)) {
game.dflag += 2;
rspeak(REALLY_MAD);
}
} else
rspeak(actions[verb].message);
break;
case BEAR:
if (game.prop[BEAR] == BEAR_DEAD) {
@ -669,7 +670,8 @@ static int feed(token_t verb, token_t obj)
case OGRE:
if (HERE(FOOD))
rspeak(OGRE_FULL);
else rspeak(actions[verb].message);
else
rspeak(actions[verb].message);
break;
default:
rspeak(AM_GAME);

View file

@ -572,7 +572,7 @@ You're in Bedquilt.
> feed dwarf
There is nothing here to eat.
There is nothing here to eat.
> throw axe