- /* Magic number -2 allows a STASHED version of state 1 */
- if (valgame.prop[obj] < -2 || valgame.prop[obj] > 1) {
- switch (obj) {
- case RUG:
- case DRAGON:
- case BIRD:
- case BOTTLE:
- case PLANT:
- case PLANT2:
- case TROLL:
- case URN:
- case EGGS:
- case VASE:
- case CHAIN:
- if (valgame.prop[obj] == 2) // There are multiple different states, but it's convenient to clump them together
- continue; // LCOV_EXCL_LINE
- /* FALLTHRU */
- case BEAR:
- if (valgame.prop[BEAR] == CONTENTED_BEAR || valgame.prop[BEAR] == BEAR_DEAD)
- continue;
- /* FALLTHRU */
- default:
- return false; // LCOV_EXCL_LINE
- }