1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-08-16 09:31:37 +01:00

Fix Chaos plurality confusion

This commit is contained in:
Chris-plus-alphanumericgibberish 2017-08-19 02:48:17 -04:00
parent 9f65677e50
commit 61fdbed87b

View file

@ -1761,7 +1761,9 @@ register const char *verb;
* Guess at a few other special cases that makeplural creates.
*/
if ((*spot == 's' && spot != subj &&
(*(spot-1) != 'u' && *(spot-1) != 's')) ||
(*(spot-1) != 'u' && *(spot-1) != 's') &&
!((spot - subj) >= 5 && !strncmp(spot-4, "Chaos", 5))
) ||
((spot - subj) >= 4 && !strncmp(spot-3, "eeth", 4)) ||
((spot - subj) >= 3 && !strncmp(spot-3, "feet", 4)) ||
((spot - subj) >= 2 && !strncmp(spot-1, "ia", 2)) ||