| 135 | } |
| 136 | |
| 137 | void |
| 138 | pline_mon(struct monst *mtmp, const char *line, ...) |
| 139 | { |
| 140 | va_list the_args; |
| 141 | |
| 142 | if (mtmp == &gy.youmonst) |
| 143 | set_msg_xy(0, 0); |
| 144 | else |
| 145 | set_msg_xy(mtmp->mx, mtmp->my); |
| 146 | |
| 147 | va_start(the_args, line); |
| 148 | vpline(line, the_args); |
| 149 | va_end(the_args); |
| 150 | } |
| 151 | |
| 152 | staticfn void |
| 153 | vpline(const char *line, va_list the_args) |
no test coverage detected