used by askchain() to check for magic bag explosion */
| 2900 | |
| 2901 | /* used by askchain() to check for magic bag explosion */ |
| 2902 | boolean |
| 2903 | container_gone(int (*fn)(OBJ_P)) |
| 2904 | { |
| 2905 | /* result is only meaningful while use_container() is executing */ |
| 2906 | return ((fn == in_container || fn == out_container) |
| 2907 | && !gc.current_container); |
| 2908 | } |
| 2909 | |
| 2910 | staticfn void |
| 2911 | explain_container_prompt(boolean more_containers) |