Commit 43f0cb23 by NHOrus

Silenced fallthrough warning

parent 96ead306
Pipeline #11618670 passed with stages
in 5 minutes 26 seconds
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment