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:
@@ -28,6 +28,7 @@ being confused and reading cursed scroll of charging drains your energy
|
||||
class genocide recognizes species name as an example of the class to
|
||||
genocide (Martin Snyder)
|
||||
internals: use Is_box rather than explicitly checking what it checks
|
||||
fix some unreachable messages (either make then reachable or remove them)
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -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