Bear can't dies where it can be chained.

This commit is contained in:
Eric S. Raymond 2017-07-10 12:49:45 -04:00
parent 13f7304081
commit 9a16382b12

View file

@ -419,7 +419,10 @@ static int chain(verb_t verb)
switch (game.prop[BEAR]) {
case BEAR_DEAD:
game.fixed[BEAR] = IS_FIXED;
/* Can't be reached as long as the only way for the bear to die
* is from a bridge collapse. Leave in in case this changes, but
* exclude from coverage testing. */
game.fixed[BEAR] = IS_FIXED; // LCOV_EXCL_LINE
break;
default:
game.fixed[BEAR] = IS_FREE;