| 827 | #define CAT_CHECK 2 |
| 828 | |
| 829 | staticfn boolean |
| 830 | odds_and_ends(struct obj *list, int what) |
| 831 | { |
| 832 | struct obj *otmp; |
| 833 | |
| 834 | for (otmp = list; otmp; otmp = otmp->nobj) { |
| 835 | switch (what) { |
| 836 | case CAT_CHECK: /* Schroedinger's Cat */ |
| 837 | /* Ascending is deterministic */ |
| 838 | if (SchroedingersBox(otmp)) |
| 839 | return rn2(2); |
| 840 | break; |
| 841 | } |
| 842 | if (Has_contents(otmp)) |
| 843 | return odds_and_ends(otmp->cobj, what); |
| 844 | } |
| 845 | return FALSE; |
| 846 | } |
| 847 | #endif |
| 848 | |
| 849 | /* deal with some objects which may be in an abnormal state at end of game */ |