| 2505 | #undef ROT_ICE_ADJUSTMENT |
| 2506 | |
| 2507 | void |
| 2508 | remove_object(struct obj *otmp) |
| 2509 | { |
| 2510 | coordxy x = otmp->ox; |
| 2511 | coordxy y = otmp->oy; |
| 2512 | |
| 2513 | if (otmp->where != OBJ_FLOOR) |
| 2514 | panic("remove_object: obj where=%d, not on floor", otmp->where); |
| 2515 | extract_nexthere(otmp, &svl.level.objects[x][y]); |
| 2516 | extract_nobj(otmp, &fobj); |
| 2517 | if (otmp->otyp == BOULDER) |
| 2518 | recalc_block_point(x, y); /* vision */ |
| 2519 | if (otmp->timed) |
| 2520 | obj_timer_checks(otmp, x, y, 0); |
| 2521 | } |
| 2522 | |
| 2523 | /* throw away all of a monster's inventory */ |
| 2524 | void |
no test coverage detected