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

@@ -2047,7 +2047,7 @@ demonpet(void)
i = !rn2(6) ? ndemon(u.ualign.type) : NON_PM;
pm = i != NON_PM ? &mons[i] : gy.youmonst.data;
if ((dtmp = makemon(pm, u.ux, u.uy, NO_MM_FLAGS)) != 0)
(void) tamedog(dtmp, (struct obj *) 0);
(void) tamedog(dtmp, (struct obj *) 0, FALSE);
exercise(A_WIS, TRUE);
}