ensure that a sleeping steed doesn't answer you
This commit is contained in:
@@ -50,6 +50,7 @@ really fix rolling boulder bug C340-18, the previous "fix" reversed the test
|
|||||||
monster throwing greased weapon has same chance for slip/misfire as player
|
monster throwing greased weapon has same chance for slip/misfire as player
|
||||||
killing a pet by displacing it into a trap now yields experience
|
killing a pet by displacing it into a trap now yields experience
|
||||||
prevent a rolling boulder that is in motion from vanishing in bones files
|
prevent a rolling boulder that is in motion from vanishing in bones files
|
||||||
|
ensure that a sleeping steed doesn't answer a #chat
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
+7
-2
@@ -867,9 +867,14 @@ dochat()
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef STEED
|
#ifdef STEED
|
||||||
if (u.usteed && u.dz > 0)
|
if (u.usteed && u.dz > 0) {
|
||||||
return (domonnoise(u.usteed));
|
if (!u.usteed->mcanmove || u.usteed->msleeping)
|
||||||
|
pline("%s seems not to notice you.", Monnam(u.usteed));
|
||||||
|
else
|
||||||
|
return (domonnoise(u.usteed));
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (u.dz) {
|
if (u.dz) {
|
||||||
pline("They won't hear you %s there.", u.dz < 0 ? "up" : "down");
|
pline("They won't hear you %s there.", u.dz < 0 ? "up" : "down");
|
||||||
return(0);
|
return(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user