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:
@@ -1169,8 +1169,8 @@ boolean ask;
|
|||||||
switch (nkilled) {
|
switch (nkilled) {
|
||||||
case 2: Sprintf(eos(buf)," (twice)"); break;
|
case 2: Sprintf(eos(buf)," (twice)"); break;
|
||||||
case 3: Sprintf(eos(buf)," (thrice)"); break;
|
case 3: Sprintf(eos(buf)," (thrice)"); break;
|
||||||
default: Sprintf(eos(buf)," (%d time%s)",
|
default: Sprintf(eos(buf)," (%d times)",
|
||||||
nkilled, plur(nkilled));
|
nkilled);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user