Merge branch 'NetHack-3.6'

This commit is contained in:
nhmall
2019-11-18 15:15:37 -05:00
4 changed files with 45 additions and 29 deletions

View File

@@ -2445,8 +2445,11 @@ const char *oldstr;
if (index("zxs", lo_c)
|| (len >= 2 && lo_c == 'h' && index("cs", lowc(*(spot - 1)))
/* 21st century k-sound */
&& !(len >= 4 && !strcmpi(spot - 2, "ech")
&& index("tm", lowc(*(spot - 4)))))
&& !(len >= 4 &&
((lowc(*(spot - 2)) == 'e'
&& index("mt", lowc(*(spot - 3)))) ||
(lowc(*(spot - 2)) == 'o'
&& index("lp", lowc(*(spot - 3)))))))
/* Kludge to get "tomatoes" and "potatoes" right */
|| (len >= 4 && !strcmpi(spot - 2, "ato"))
|| (len >= 5 && !strcmpi(spot - 4, "dingo"))) {