tend: Fix the amount tended in bulletin to recipient
The bulletin reports the total amount tended to all ships so far. Broken in commit1de48e53da
(v4.3.0), not fixed in commit7cc14a2c9a
(v4.3.1). Fix the bulletin to report the amount tended to this ship. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
6035487287
commit
18f3b84390
3 changed files with 7 additions and 9 deletions
|
@ -173,7 +173,7 @@ tend(void)
|
|||
total += transfer;
|
||||
if (transfer && target.shp_own != player->cnum) {
|
||||
wu(0, target.shp_own, "%s tended %d %s to %s\n",
|
||||
cname(player->cnum), total, ip->i_name,
|
||||
cname(player->cnum), transfer, ip->i_name,
|
||||
prship(&target));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue