projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13f7304
)
Bear can't dies where it can be chained.
author
Eric S. Raymond
<esr@thyrsus.com>
Mon, 10 Jul 2017 16:49:45 +0000
(12:49 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Mon, 10 Jul 2017 16:49:45 +0000
(12:49 -0400)
actions.c
patch
|
blob
|
history
diff --git
a/actions.c
b/actions.c
index 80e534b6da793c2cebbb8e8a274dcbb75d918078..6000f41e01980eb91a9ecf82296e5358a515809d 100644
(file)
--- 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;