Another tamedog message

Give a different message when a peaceful creature was tamed.
Allow suppressing this and the previous message, when the caller
handles messaging.
This commit is contained in:
Pasi Kallinen
2024-03-24 10:48:26 +02:00
parent 71c78449e5
commit f131942dd2
13 changed files with 21 additions and 15 deletions

View File

@@ -915,7 +915,7 @@ clone_mon(struct monst *mon,
However, tamedog() will not re-tame a tame dog, so m2
must be made non-tame to get initialized properly. */
m2->mtame = 0;
if (tamedog(m2, (struct obj *) 0)) {
if (tamedog(m2, (struct obj *) 0, FALSE)) {
assert(has_edog(m2) && has_edog(mon));
*EDOG(m2) = *EDOG(mon);
}