remove the ball and chain */
| 3063 | |
| 3064 | /* remove the ball and chain */ |
| 3065 | void |
| 3066 | unpunish(void) |
| 3067 | { |
| 3068 | struct obj *savechain = uchain; |
| 3069 | |
| 3070 | /* chain goes away */ |
| 3071 | setworn((struct obj *) 0, W_CHAIN); /* sets 'uchain' to Null */ |
| 3072 | /* for floor, unhides monster hidden under chain, calls newsym() */ |
| 3073 | delobj(savechain); |
| 3074 | |
| 3075 | /* the chain is gone but the no longer attached ball persists */ |
| 3076 | setworn((struct obj *) 0, W_BALL); /* sets 'uball' to Null */ |
| 3077 | } |
| 3078 | |
| 3079 | /* prompt the player to create a stinking cloud and then create it if they |
| 3080 | give a location */ |
no test coverage detected