From: Eric S. Raymond Date: Mon, 10 Jul 2017 16:49:45 +0000 (-0400) Subject: Bear can't dies where it can be chained. X-Git-Tag: 1.2~19 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=9a16382b121422b094539463e57710baaaf817dc Bear can't dies where it can be chained. --- diff --git a/actions.c b/actions.c index 80e534b..6000f41 100644 --- a/actions.c +++ b/actions.c @@ -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;