]> granicus.if.org Git - nethack/commitdiff
seeing self with infravision
authorarromdee <arromdee>
Mon, 24 Mar 2003 00:47:03 +0000 (00:47 +0000)
committerarromdee <arromdee>
Mon, 24 Mar 2003 00:47:03 +0000 (00:47 +0000)
> 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.

doc/fixes34.2
include/display.h

index 6f0ad3720f19087bd762665e1dfb6843987f65ce..af903f3fc821cdfa15736b01710072139b604818 100644 (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
index 67f86279ea5b1cd67ab7caee0a75ae54293eb79b..52eb71faa9fc787d3a970c361be1b8584d5d748a 100644 (file)
  * 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()