From 9a16382b121422b094539463e57710baaaf817dc Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 10 Jul 2017 12:49:45 -0400 Subject: [PATCH] Bear can't dies where it can be chained. --- actions.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.31.1