| 301 | } |
| 302 | |
| 303 | staticfn void |
| 304 | m_to_e(struct monst *mtmp, coordxy x, coordxy y, struct entity *etmp) |
| 305 | { |
| 306 | etmp->emon = mtmp; |
| 307 | if (mtmp) { |
| 308 | etmp->ex = x; |
| 309 | etmp->ey = y; |
| 310 | if (mtmp->wormno && (x != mtmp->mx || y != mtmp->my)) |
| 311 | etmp->edata = &mons[PM_LONG_WORM_TAIL]; |
| 312 | else |
| 313 | etmp->edata = mtmp->data; |
| 314 | } else { |
| 315 | etmp->edata = (struct permonst *) 0; |
| 316 | etmp->ex = etmp->ey = 0; |
| 317 | } |
| 318 | } |
| 319 | |
| 320 | staticfn void |
| 321 | u_to_e(struct entity *etmp) |
no outgoing calls
no test coverage detected