another unreachable message

Correct the unreachable "snores" message From a bug report.
Applied to trunk only in hopes that beta8 might be the last for 3.4.2.
The fixes entry is generic since I'm sure other similar messages will be fixed.
This commit is contained in:
cohrs
2003-08-20 17:51:49 +00:00
parent 1fd577124b
commit 6c254ee539
2 changed files with 5 additions and 3 deletions

View File

@@ -2570,12 +2570,13 @@ xchar x, y;
dropped_container(obj, shkp, TRUE);
if (!obj->unpaid)
obj->no_charge = 1;
if (!shkp->mcanmove) {
if (shkp->msleeping) {
if(!rn2(3))
pline("%s snores indifferently.", Monnam(shkp));
} else {
if(ANGRY(shkp) && !rn2(4))
pline("%s utters a curse.", Monnam(shkp));
else pline("%s is indisposed.", Monnam(shkp));
} else if(!rn2(3)) {
pline("%s snores indifferently.", Monnam(shkp));
}
subfrombill(obj, shkp);
return;