fix #H4038 - distant name vs Eyes of the Overworld
distant_name() temporarily blinded the hero before calling xname() or doname() in order to prevent the object being formatted from having its dknown flag set. The Eyes of the Overworld override blindness, so that bit got set for heros wearing them regardless of intention. This switches to a file-scope global instead of blindness as the way that distant_name() tells xname() not to set dknown. This bug has been present ever since the Eyes were added (3.3.0?).
This commit is contained in:
@@ -7,6 +7,8 @@ data.base entry for "lava" had wrong first name for Don Woods' attribution
|
||||
cursed genocide of "none" sent in monsters, but "that's enough tries" didn't
|
||||
update MAXPLAYERS documentation in sysconf file and allow 0 for it
|
||||
wizard mode: don't include feedback about named fruit for ^X and enlightenment
|
||||
looking at distant objects while wearing the Eyes of the Overworld made their
|
||||
up-close descriptions known when not intended
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
Reference in New Issue
Block a user