]> granicus.if.org Git - nethack/commitdiff
whipping hidden mimic displays mimic name too early
authorcohrs <cohrs>
Fri, 15 Feb 2002 04:29:11 +0000 (04:29 +0000)
committercohrs <cohrs>
Fri, 15 Feb 2002 04:29:11 +0000 (04:29 +0000)
rather than the "flick" message, just go directly to stumble_onto_mimic

doc/fixes34.0
src/apply.c

index 733b34e8c1b86ead865201d5c147214f7f2c1bb9..e203b3d35d99179f7f30af9f9957e77ab36f8601 100644 (file)
@@ -430,6 +430,7 @@ cannot reflect back an invisible umber hulk or medusa's attack
 monsters with M3_WANTSBOOK often couldn't move in the Wizard-level
 Vlad should want the Candelabrum
 if you float_down on a trap in which you're already trapped, don't retrap
+applying whip toward hidden mimic displays mimic name before "Wait!" message
 
 
 Platform- and/or Interface-Specific Fixes
index 5cceb9fcb1ec65a512dc9a00e42f343ae79d5f9f..0b301660cb63127bf7ec67d452f606ea2991e6d3 100644 (file)
@@ -2233,7 +2233,10 @@ struct obj *obj;
            }
            wakeup(mtmp);
        } else {
-           You("flick your bullwhip towards %s.", mon_nam(mtmp));
+           if (mtmp->m_ap_type &&
+               !Protection_from_shape_changers && !sensemon(mtmp))
+               stumble_onto_mimic(mtmp);
+           else You("flick your bullwhip towards %s.", mon_nam(mtmp));
            if (proficient) {
                if (attack(mtmp)) return 1;
                else pline(msg_snap);