whipping hidden mimic displays mimic name too early

rather than the "flick" message, just go directly to stumble_onto_mimic
This commit is contained in:
cohrs
2002-02-15 04:29:11 +00:00
parent e4facdc70a
commit fe4f8b3c9d
2 changed files with 5 additions and 1 deletions

View 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);