| 2286 | } |
| 2287 | |
| 2288 | boolean |
| 2289 | is_rottable(struct obj *otmp) |
| 2290 | { |
| 2291 | int otyp = otmp->otyp; |
| 2292 | |
| 2293 | return (boolean) ((objects[otyp].oc_material <= WOOD |
| 2294 | && objects[otyp].oc_material != LIQUID) |
| 2295 | || objects[otyp].oc_material == DRAGON_HIDE); |
| 2296 | } |
| 2297 | |
| 2298 | /* |
| 2299 | * These routines maintain the single-linked lists headed in level.objects[][] |
no outgoing calls
no test coverage detected