returns 3 values (0=male, 1=female, 2=none) */
| 1177 | |
| 1178 | /* returns 3 values (0=male, 1=female, 2=none) */ |
| 1179 | int |
| 1180 | gender(struct monst *mtmp) |
| 1181 | { |
| 1182 | if (is_neuter(mtmp->data)) |
| 1183 | return 2; |
| 1184 | return mtmp->female; |
| 1185 | } |
| 1186 | |
| 1187 | /* Like gender(), but unseen humanoids are "it" rather than "he" or "she" |
| 1188 | and lower animals and such are "it" even when seen; hallucination might |
no outgoing calls
no test coverage detected