forked from github/server
melee weapons verteilen
This commit is contained in:
parent
e4d411a093
commit
10bb716d52
1 changed files with 1 additions and 0 deletions
|
@ -2885,6 +2885,7 @@ make_fighter(battle * b, unit * u, boolean attack)
|
|||
if (weapon_weight(fig->weapons+owp[oi], false)<=wpless) {
|
||||
continue; /* we fight better with bare hands */
|
||||
}
|
||||
fig->person[i].melee = &fig->weapons[owp[oi]];
|
||||
++fig->weapons[owp[oi]].used;
|
||||
}
|
||||
/* hand out missile weapons (from back to front, in case of mixed troops). */
|
||||
|
|
Loading…
Reference in a new issue