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:
96ead30
)
Silenced fallthrough warning
263/head
author
NHOrus
<jy6x2b32pie9@yahoo.com>
Tue, 5 Sep 2017 15:32:56 +0000
(18:32 +0300)
committer
NHOrus
<jy6x2b32pie9@yahoo.com>
Tue, 5 Sep 2017 15:32:56 +0000
(18:32 +0300)
saveresume.c
patch
|
blob
|
history
diff --git
a/saveresume.c
b/saveresume.c
index 74c03d76a1741d4aa92fe64598d6c4cad043f7ae..cc000d8acf2ffbd8d291e6c70b321313246de612 100644
(file)
--- a/
saveresume.c
+++ b/
saveresume.c
@@
-215,9
+215,11
@@
bool is_valid(struct game_t* valgame)
case CHAIN:
if (valgame->prop[obj] == 2) // There are multiple different states, but it's convenient to clump them together
continue;
+ /* FALLTHRU */
case BEAR:
if (valgame->prop[BEAR] == CONTENTED_BEAR || valgame->prop[BEAR] == BEAR_DEAD)
continue;
+ /* FALLTHRU */
default:
return false;
}