B01001 fix: corpse grammar
<Someone> wrote: > You start bashing monsters with your 2 cockatrice corpses. > You hit the foo with the cockatrice corpse (note singular). > The foo is slowing down. The foo turns to stone. > Also: Your cockatrice corpses rots away. It appears that vtense() has a problem recognizing "corpses" as plural. This doesn't fix that, it just switches to using otense() in this particular case.
This commit is contained in:
@@ -739,11 +739,13 @@ int thrown;
|
||||
#endif
|
||||
case CORPSE: /* fixed by polder@cs.vu.nl */
|
||||
if (touch_petrifies(&mons[obj->corpsenm])) {
|
||||
static const char withwhat[] = "corpse";
|
||||
tmp = 1;
|
||||
hittxt = TRUE;
|
||||
You("hit %s with %s corpse.", mon_nam(mon),
|
||||
You("hit %s with %s %s.", mon_nam(mon),
|
||||
obj->dknown ? the(mons[obj->corpsenm].mname) :
|
||||
an(mons[obj->corpsenm].mname));
|
||||
an(mons[obj->corpsenm].mname),
|
||||
(obj->quan > 1) ? makeplural(withwhat) : withwhat);
|
||||
if (!munstone(mon, TRUE))
|
||||
minstapetrify(mon, TRUE);
|
||||
if (resists_ston(mon)) break;
|
||||
|
||||
Reference in New Issue
Block a user