projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Silenced fallthrough warning
[open-adventure.git]
/
saveresume.c
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;
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;
case BEAR:
if (valgame->prop[BEAR] == CONTENTED_BEAR || valgame->prop[BEAR] == BEAR_DEAD)
continue;
+ /* FALLTHRU */
default:
return false;
}
default:
return false;
}