From 83b85d4be95b8e3dad99a8420bc9f321cf0e3e3a Mon Sep 17 00:00:00 2001 From: PatR Date: Sun, 25 Aug 2024 13:11:05 -0700 Subject: [PATCH] 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. --- src/detect.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/detect.c b/src/detect.c index 99da4604d..347829a34 100644 --- a/src/detect.c +++ b/src/detect.c @@ -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;