X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=actions.c;h=2d02595cf305c3e83e39066f4688c332e7e8f6eb;hp=80e534b6da793c2cebbb8e8a274dcbb75d918078;hb=12b2ff74f6bbca81dc04e359f2209fe3a442e0df;hpb=53cb12b4d084bc085fd2b22db886cc172b74e59c diff --git a/actions.c b/actions.c index 80e534b..2d02595 100644 --- a/actions.c +++ b/actions.c @@ -419,8 +419,13 @@ static int chain(verb_t verb) switch (game.prop[BEAR]) { case BEAR_DEAD: + // LCOV_EXCL_START + /* 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; break; + // LCOV_EXCL_END default: game.fixed[BEAR] = IS_FREE; }