Silenced fallthrough warning
This commit is contained in:
parent
96ead306b5
commit
43f0cb232b
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue