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

@@ -218,7 +218,7 @@ deadbook_pacify_undead(struct monst *mtmp)
if (mtmp->mtame < 20)
mtmp->mtame++;
} else
(void) tamedog(mtmp, (struct obj *) 0);
(void) tamedog(mtmp, (struct obj *) 0, TRUE);
else
monflee(mtmp, 0, FALSE, TRUE);
}