leashed steed dying of starvation

- prefer the regular "dies from hunger" message over "leash goes slack"
in this case.
This commit is contained in:
cohrs
2002-03-25 06:29:43 +00:00
parent 1b705ec5e2
commit d0d0cde8e7
2 changed files with 6 additions and 1 deletions

View File

@@ -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),