print the name as if mon_nam() (y_monnam() if tame) was called, but assume that the player can always see the monster--used for probing and for monsters aggravating the player with a cursed potion of invisibility; also used for pet moving "reluctantly" onto cursed object when that pet can be seen either before or after it moves */
| 1051 | also used for pet moving "reluctantly" onto cursed object when that pet |
| 1052 | can be seen either before or after it moves */ |
| 1053 | char * |
| 1054 | noit_mon_nam(struct monst *mtmp) |
| 1055 | { |
| 1056 | return x_monnam(mtmp, ARTICLE_YOUR, (char *) 0, |
| 1057 | (has_mgivenname(mtmp) ? (SUPPRESS_SADDLE | SUPPRESS_IT) |
| 1058 | : SUPPRESS_IT), |
| 1059 | FALSE); |
| 1060 | } |
| 1061 | |
| 1062 | /* in between noit_mon_nam() and mon_nam(); if the latter would pick "it", |
| 1063 | use "someone" (for humanoids) or "something" (for others) instead */ |
no outgoing calls
no test coverage detected