]> git.pond.sub.org Git - empserver/commitdiff
(tend): Send a bulletin to the ally when tending items to an ally.
authorRon Koenderink <rkoenderink@yahoo.ca>
Tue, 22 Nov 2005 19:28:48 +0000 (19:28 +0000)
committerRon Koenderink <rkoenderink@yahoo.ca>
Tue, 22 Nov 2005 19:28:48 +0000 (19:28 +0000)
Closes #929398.

src/lib/commands/tend.c

index d32f1bb6851a0184554689d790ebddc4162deab7..7c889ad52605835b78df7c5ad30f2c8de638e6fb 100644 (file)
@@ -181,6 +181,10 @@ tend(void)
        pr("%d total %s transferred %s %s\n",
           total, ip->i_name, (amt > 0) ? "off of" : "to",
           prship(&tender));
+       if (target.shp_own != player->cnum) {
+           wu(0, target.shp_own, "%s tended %d %s to %s\n",
+              cname(player->cnum), total, ip->i_name, prship(&target));
+       }
        tender.shp_item[ip->i_vtype] = ontender;
        tender.shp_mission = 0;
        putship(tender.shp_uid, &tender);