inappropriate "lamp flickers" message while blind
From a bug report. Add missing !Blind check.
This commit is contained in:
@@ -116,6 +116,7 @@ zapping unlocking magic at self while punished will remove attached chain
|
|||||||
don't see objects or read engraving when hero changes location (random
|
don't see objects or read engraving when hero changes location (random
|
||||||
teleport) or position (levitation timeout) while asleep or fainted
|
teleport) or position (levitation timeout) while asleep or fainted
|
||||||
polymorphed spellbooks may turn blank or be too faint to read
|
polymorphed spellbooks may turn blank or be too faint to read
|
||||||
|
avoid inappropriate message when using a cursed lamp while blind
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
@@ -1179,6 +1179,7 @@ struct obj *obj;
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (obj->cursed && !rn2(2)) {
|
if (obj->cursed && !rn2(2)) {
|
||||||
|
if (!Blind)
|
||||||
pline("%s for a moment, then %s.",
|
pline("%s for a moment, then %s.",
|
||||||
Tobjnam(obj, "flicker"), otense(obj, "die"));
|
Tobjnam(obj, "flicker"), otense(obj, "die"));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user