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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user