fix github issue #530 - weapon skill enlightenment

^X feedback and end of game disclosure reported
 Your two weapon skill {is,was} [also] limited by being <skill rating>
 with with <secondary weapon>.
when the skill rating for the secondary weapon is/was less than the
skill rating for two-weapon combat.  The corresponding message for
primary weapon did not duplicate the word "with".

Fixes #530
This commit is contained in:
PatR
2021-06-06 13:38:49 -07:00
parent 97e58a4fdc
commit e20dd2e760
2 changed files with 3 additions and 1 deletions

View File

@@ -1207,7 +1207,7 @@ weapon_insight(int final)
Strcpy(pfx, "Your two weapon skill ");
Sprintf(sfx, " %slimited by ", also2);
if (sklvl2 > P_ISRESTRICTED)
Sprintf(eos(sfx), "being %s with", sklvlbuf2);
Sprintf(eos(sfx), "being %s", sklvlbuf2);
else
Strcat(eos(sfx), "having no skill");
Sprintf(eos(sfx), " with %s", sknambuf2);