for size_monst(cmd.c) to support #stats */
| 824 | |
| 825 | /* for size_monst(cmd.c) to support #stats */ |
| 826 | int |
| 827 | size_wseg(struct monst *worm) |
| 828 | { |
| 829 | return (int) (count_wsegs(worm) * sizeof (struct wseg)); |
| 830 | } |
| 831 | |
| 832 | /* count_wsegs() |
| 833 | * returns the number of segments that a worm has. |
no test coverage detected