seeing self with infravision

> It appears that if showrace is set, and your race is not human, a
> potion of invisibility (or any other form of invisibility) doesn't cause
> your symbol to disappear on screen, even if you don't have see invisible.
This commit is contained in:
arromdee
2003-03-24 00:47:03 +00:00
parent 310d1d53fd
commit 1d99476847
2 changed files with 2 additions and 2 deletions

View File

@@ -22,6 +22,7 @@ putting gold in a container on the shop floor wasn't credited the way
gold already in the container when dropped was credited
avoid integer division rounding error when calculating carrying capacity
don't lock/unlock a door while in a pit, to be consistent with door opening
infravision should not make invisible player "visible" (it doesn't for monsters)
Platform- and/or Interface-Specific Fixes

View File

@@ -133,8 +133,7 @@
* invisible. If not, then we don't need the check.
*/
#define canseeself() (Blind || u.uswallow || (!Invisible && !u.uundetected))
#define senseself() (canseeself() || Infravision || Unblind_telepat || \
Detect_monsters)
#define senseself() (canseeself() || Unblind_telepat || Detect_monsters)
/*
* random_monster()