fix message when were_summoning

This commit is contained in:
nethack.allison
2003-12-07 09:45:34 +00:00
parent 19976253a0
commit 2a91bc6a50
4 changed files with 12 additions and 7 deletions

View File

@@ -482,9 +482,10 @@ mattacku(mtmp)
if(!rn2(10) && !mtmp->mcan) {
int numseen, numhelp;
char buf[BUFSZ];
char buf[BUFSZ], genericwere[BUFSZ];
numhelp = were_summon(mdat, FALSE, &numseen);
Strcpy(genericwere, "creature");
numhelp = were_summon(mdat, FALSE, &numseen, genericwere);
if (youseeit) {
pline("%s summons help!", Monnam(mtmp));
if (numhelp > 0) {
@@ -504,10 +505,10 @@ mattacku(mtmp)
else {
if (numseen == 1)
Sprintf(buf, "%s appears",
an(mdat->mname));
an(genericwere));
else
Sprintf(buf, "%s appear",
makeplural(mdat->mname));
makeplural(genericwere));
pline("%s%s!", upstart(buf), from_nowhere);
}
} /* else no help came; but you didn't know it tried */