| 32 | } |
| 33 | |
| 34 | void |
| 35 | free_egd(struct monst *mtmp) |
| 36 | { |
| 37 | if (mtmp->mextra && EGD(mtmp)) { |
| 38 | free((genericptr_t) EGD(mtmp)); |
| 39 | EGD(mtmp) = (struct egd *) 0; |
| 40 | } |
| 41 | mtmp->isgd = 0; |
| 42 | } |
| 43 | |
| 44 | /* try to remove the temporary corridor (from vault to rest of map) being |
| 45 | maintained by guard 'grd'; if guard is still in it, removal will fail, |
nothing calls this directly
no outgoing calls
no test coverage detected