vtense special case for *ss
This fixes the reported "The looking glass miss the mountain nymph."
This commit is contained in:
@@ -188,6 +188,7 @@ don't print ape data.base description for other words that end in "ape"
|
|||||||
prevent crash after animating a statue via stone to flesh by avoiding use
|
prevent crash after animating a statue via stone to flesh by avoiding use
|
||||||
of the obj in newsym() after it was deleted
|
of the obj in newsym() after it was deleted
|
||||||
print "magic spreads" message when eating ring of increase damage, etc.
|
print "magic spreads" message when eating ring of increase damage, etc.
|
||||||
|
grammar tid: "The looking glass miss the <monster>."
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
+4
-3
@@ -1,4 +1,4 @@
|
|||||||
/* SCCS Id: @(#)objnam.c 3.4 2002/05/30 */
|
/* SCCS Id: @(#)objnam.c 3.4 2002/08/06 */
|
||||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
|
|
||||||
@@ -1043,10 +1043,11 @@ register const char *verb;
|
|||||||
if (!spot) spot = subj + len - 1;
|
if (!spot) spot = subj + len - 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* plural: anything that ends in 's', but not '*us'.
|
* plural: anything that ends in 's', but not '*us' or '*ss'.
|
||||||
* Guess at a few other special cases that makeplural creates.
|
* Guess at a few other special cases that makeplural creates.
|
||||||
*/
|
*/
|
||||||
if ((*spot == 's' && spot != subj && *(spot-1) != 'u') ||
|
if ((*spot == 's' && spot != subj &&
|
||||||
|
(*(spot-1) != 'u' && *(spot-1) != 's')) ||
|
||||||
((spot - subj) >= 4 && !strncmp(spot-3, "eeth", 4)) ||
|
((spot - subj) >= 4 && !strncmp(spot-3, "eeth", 4)) ||
|
||||||
((spot - subj) >= 3 && !strncmp(spot-3, "feet", 4)) ||
|
((spot - subj) >= 3 && !strncmp(spot-3, "feet", 4)) ||
|
||||||
((spot - subj) >= 2 && !strncmp(spot-1, "ia", 2)) ||
|
((spot - subj) >= 2 && !strncmp(spot-1, "ia", 2)) ||
|
||||||
|
|||||||
Reference in New Issue
Block a user