Indicate via message that a monster has awoken. */
| 4319 | |
| 4320 | /* Indicate via message that a monster has awoken. */ |
| 4321 | void |
| 4322 | wake_msg(struct monst *mtmp, boolean interesting) |
| 4323 | { |
| 4324 | if (mtmp->msleeping && canseemon(mtmp)) { |
| 4325 | pline_mon(mtmp, "%s wakes up%s%s", |
| 4326 | Monnam(mtmp), interesting ? "!" : ".", |
| 4327 | mtmp->data == &mons[PM_FLESH_GOLEM] ? " It's alive!" : ""); |
| 4328 | } |
| 4329 | } |
| 4330 | |
| 4331 | /* wake up a monster, possibly making it angry in the process */ |
| 4332 | void |
no test coverage detected