leashed steed dying of starvation
- prefer the regular "dies from hunger" message over "leash goes slack" in this case.
This commit is contained in:
@@ -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
|
two bad wizkit items in a row shouldn't make the user hit space many times
|
||||||
kicking thrones no longer loosens rocks
|
kicking thrones no longer loosens rocks
|
||||||
wall symbol not replaced when digging while blind and levitating
|
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
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
+5
-1
@@ -248,7 +248,11 @@ register struct edog *edog;
|
|||||||
stop_occupation();
|
stop_occupation();
|
||||||
} else if (monstermoves > edog->hungrytime + 750 || mtmp->mhp < 1) {
|
} else if (monstermoves > edog->hungrytime + 750 || mtmp->mhp < 1) {
|
||||||
dog_died:
|
dog_died:
|
||||||
if (mtmp->mleashed)
|
if (mtmp->mleashed
|
||||||
|
#ifdef STEED
|
||||||
|
&& mtmp != u.usteed
|
||||||
|
#endif
|
||||||
|
)
|
||||||
Your("leash goes slack.");
|
Your("leash goes slack.");
|
||||||
else if (cansee(mtmp->mx, mtmp->my))
|
else if (cansee(mtmp->mx, mtmp->my))
|
||||||
pline("%s dies%s.", Monnam(mtmp),
|
pline("%s dies%s.", Monnam(mtmp),
|
||||||
|
|||||||
Reference in New Issue
Block a user