| 566 | } |
| 567 | |
| 568 | void |
| 569 | free_eshk(struct monst *mtmp) |
| 570 | { |
| 571 | if (mtmp->mextra && ESHK(mtmp)) { |
| 572 | free((genericptr_t) ESHK(mtmp)); |
| 573 | ESHK(mtmp) = (struct eshk *) 0; |
| 574 | } |
| 575 | mtmp->isshk = 0; |
| 576 | } |
| 577 | |
| 578 | /* find a door in room sroom which is good for shop entrance. |
| 579 | returns -1 if no good door found, or the svd.doors index |
nothing calls this directly
no outgoing calls
no test coverage detected