B14018 healing mimics

Add missing newsym
Also fixed up some inconsistent indentation
This commit is contained in:
cohrs
2002-12-08 21:02:27 +00:00
parent b57bc61a80
commit 989f1cba5b

View File

@@ -269,13 +269,14 @@ struct obj *otmp;
if (canseemon(mtmp)) {
if (disguised_mimic) {
if (mtmp->m_ap_type == M_AP_OBJECT &&
mtmp->mappearance == STRANGE_OBJECT)
/* it can do better now */
set_mimic_sym(mtmp);
else
mimic_hit_msg(mtmp, otyp);
mtmp->mappearance == STRANGE_OBJECT) {
/* it can do better now */
set_mimic_sym(mtmp);
newsym(mtmp->mx, mtmp->my);
} else
mimic_hit_msg(mtmp, otyp);
} else pline("%s looks%s better.", Monnam(mtmp),
otyp == SPE_EXTRA_HEALING ? " much" : "" );
otyp == SPE_EXTRA_HEALING ? " much" : "" );
}
if (mtmp->mtame || mtmp->mpeaceful) {
adjalign(Role_if(PM_HEALER) ? 1 : sgn(u.ualign.type));