diff --git a/src/uhitm.c b/src/uhitm.c index 84da9f0f8..f777bed4c 100644 --- a/src/uhitm.c +++ b/src/uhitm.c @@ -2284,8 +2284,8 @@ mhitm_ad_sgld(struct monst *magr, struct attack *mattk, struct monst *mdef, add_to_minv(magr, gold); } mdef->mstrategy &= ~STRAT_WAITFORU; + Strcpy(buf, Monnam(magr)); if (g.vis && canseemon(mdef)) { - Strcpy(buf, Monnam(magr)); pline("%s steals some gold from %s.", buf, mon_nam(mdef)); } if (!tele_restrict(magr)) { @@ -3965,8 +3965,8 @@ mhitm_ad_sedu(struct monst *magr, struct attack *mattk, struct monst *mdef, if (g.vis) Strcpy(onambuf, doname(obj)); (void) add_to_minv(magr, obj); + Strcpy(buf, Monnam(magr)); if (g.vis && canseemon(mdef)) { - Strcpy(buf, Monnam(magr)); pline("%s steals %s from %s!", buf, onambuf, mdefnambuf); } possibly_unwield(mdef, FALSE);