Bear can't dies where it can be chained.
This commit is contained in:
parent
13f7304081
commit
9a16382b12
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue