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:
|
case CHAIN:
|
||||||
if (valgame->prop[obj] == 2) // There are multiple different states, but it's convenient to clump them together
|
if (valgame->prop[obj] == 2) // There are multiple different states, but it's convenient to clump them together
|
||||||
continue;
|
continue;
|
||||||
|
/* FALLTHRU */
|
||||||
case BEAR:
|
case BEAR:
|
||||||
if (valgame->prop[BEAR] == CONTENTED_BEAR || valgame->prop[BEAR] == BEAR_DEAD)
|
if (valgame->prop[BEAR] == CONTENTED_BEAR || valgame->prop[BEAR] == BEAR_DEAD)
|
||||||
continue;
|
continue;
|
||||||
|
/* FALLTHRU */
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue