add a FIXME comment to secret door detection

^E and wand of secret door detection used to just update the map
without any other feedback, but were changed post-3.6 to issue a
message about what things are being discovered.  But the message is
misleading if [some of] the things revealed are obscured by objects
or by monsters.  Presumeably by regions too.
This commit is contained in:
PatR
2024-08-25 13:11:05 -07:00
parent 9365789b6d
commit 83b85d4be9

View File

@@ -1701,6 +1701,18 @@ findit(void)
char buf[BUFSZ];
struct found_things found;
/*
* FIXME:
* When things are found, this should show the updated map and allow
* browsing.
*
* Currently, "You reveal a trap!" will map the trap but not reveal it
* if that trap is covered by something, which is fairly common for
* early levels where corpses of fake heroes usually hide the traps
* that killed them. That's most likely to occur for wizard mode ^E
* but can happen in normal play by using wand of secret door detection.
*/
if (u.uswallow)
return 0;