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

@@ -2220,7 +2220,7 @@ thitmonst(
} else if (befriend_with_obj(mon->data, obj)
|| (mon->mtame && dogfood(mon, obj) <= ACCFOOD)) {
if (tamedog(mon, obj)) {
if (tamedog(mon, obj, TRUE)) {
return 1; /* obj is gone */
} else {
tmiss(obj, mon, FALSE);