struct autopickup_exception {
struct nhregex *regex;
- const char *pattern;
+ char *pattern;
boolean grab;
struct autopickup_exception *next;
};
mbot[k] += 'A' - 'a';
k++;
}
- Sprintf(nb = eos(nb), mbot);
+ Strcpy(nb = eos(nb), mbot);
} else
- Sprintf(nb = eos(nb), rank());
+ Strcpy(nb = eos(nb), rank());
Sprintf(nb = eos(nb), " ");
i = mrank_sz + 15;
pline("%s yells:", Amonnam(mon));
else
You_hear("someone yell:");
- verbalize(shout);
+ verbalize1(shout);
}
STATIC_OVL void
free(ape);
return 0;
}
- ape->pattern = alloc(strlen(text2) + 1);
+ ape->pattern = (char *)alloc(strlen(text2) + 1);
strcpy(ape->pattern, text2);
ape->grab = grab;
ape->next = *apehead;