From d0d0cde8e7ac3c330665f3a566e28a3cbb75bc51 Mon Sep 17 00:00:00 2001 From: cohrs Date: Mon, 25 Mar 2002 06:29:43 +0000 Subject: [PATCH] leashed steed dying of starvation - prefer the regular "dies from hunger" message over "leash goes slack" in this case. --- doc/fixes34.1 | 1 + src/dogmove.c | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/fixes34.1 b/doc/fixes34.1 index 72dd1c821..7137dce00 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -14,6 +14,7 @@ left word in format string in get_wet() causing "The spellbook fadefades" two bad wizkit items in a row shouldn't make the user hit space many times kicking thrones no longer loosens rocks wall symbol not replaced when digging while blind and levitating +print regular death message when leashed, mounted steed dies of starvation Platform- and/or Interface-Specific Fixes diff --git a/src/dogmove.c b/src/dogmove.c index fcfeb6869..0a78bb03a 100644 --- a/src/dogmove.c +++ b/src/dogmove.c @@ -248,7 +248,11 @@ register struct edog *edog; stop_occupation(); } else if (monstermoves > edog->hungrytime + 750 || mtmp->mhp < 1) { dog_died: - if (mtmp->mleashed) + if (mtmp->mleashed +#ifdef STEED + && mtmp != u.usteed +#endif + ) Your("leash goes slack."); else if (cansee(mtmp->mx, mtmp->my)) pline("%s dies%s.", Monnam(mtmp), -- 2.40.0