From 6586e9204bcec458ea9ed6eb25f0ef0a31921037 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sat, 10 Mar 2018 11:28:01 -0500 Subject: [PATCH] pluralization special case tweak mongoose -> mongooses, not mongeese --- src/objnam.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/objnam.c b/src/objnam.c index 9b9b8fbba..90c96e156 100644 --- a/src/objnam.c +++ b/src/objnam.c @@ -1,4 +1,4 @@ -/* NetHack 3.6 objnam.c $NHDT-Date: 1520696604 2018/03/10 15:43:24 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.187 $ */ +/* NetHack 3.6 objnam.c $NHDT-Date: 1471112245 2016/08/13 18:17:25 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.178 $ */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -2094,7 +2094,8 @@ const char *const *alt_as_is; /* another set like as_is[] */ if more of these turn up, one_off[] entries will need to flagged as to which are whole words and which are matchable as suffices then matching in the loop below will end up becoming more complex */ - if (!strcmpi(basestr, "slice")) { + if (!strcmpi(basestr, "slice") + || !strcmpi(basestr, "mongoose")) { if (to_plural) (void) strkitten(basestr, 's'); return TRUE;