fix #H1745 - enlightenment about number of times killed

From a bug report, code that always
produced plural feedback (used only for values of N greater than 3) was
unnecessarily handling plural vs singular.  No change in game behavior;
just one less function call in the code.
This commit is contained in:
nethack.rankin
2008-11-14 00:08:32 +00:00
parent 2cbc40caf7
commit 1485d51ca9

View File

@@ -1169,8 +1169,8 @@ boolean ask;
switch (nkilled) {
case 2: Sprintf(eos(buf)," (twice)"); break;
case 3: Sprintf(eos(buf)," (thrice)"); break;
default: Sprintf(eos(buf)," (%d time%s)",
nkilled, plur(nkilled));
default: Sprintf(eos(buf)," (%d times)",
nkilled);
break;
}
}