#sit while swallowed would give the wrong message
alchemical explosion or evaporation only used up one potion instead of all
the potions being dipped
+feedback for reverse-genocide was plural even when just one monster was created
Platform- and/or Interface-Specific Fixes
kill_genocided_monsters();
update_inventory(); /* in case identified eggs were affected */
} else {
- int cnt = 0;
+ int cnt = 0, census = monster_census(FALSE);
if (!(mons[mndx].geno & G_UNIQ) &&
!(mvitals[mndx].mvflags & (G_GENOD | G_EXTINCT)))
if (mvitals[mndx].mvflags & G_EXTINCT)
break; /* just made last one */
}
- if (cnt)
- pline("Sent in some %s.", makeplural(buf));
- else
+ if (cnt) {
+ /* accumulated 'cnt' doesn't take groups into account;
+ assume bringing in new mon(s) didn't remove any old ones */
+ cnt = monster_census(FALSE) - census;
+ pline("Sent in %s%s.", (cnt > 1) ? "some " : "",
+ (cnt > 1) ? makeplural(buf) : an(buf));
+ } else
pline1(nothing_happens);
}
}