(deliver): Grant packing bonus only to efficient sectors, as

everywhere else.
This commit is contained in:
Markus Armbruster 2004-08-19 12:40:35 +00:00
parent 95d1d10591
commit 48a9ef7c04

View file

@ -78,7 +78,7 @@ deliver(register struct sctstr *from, struct ichrstr *ip, int dir,
}
dp = &dchr[from->sct_type];
vtype = ip->i_vtype;
pack_src = ip->i_pkg[dp->d_pkg];
pack_src = ip->i_pkg[from->sct_effic >= 60 ? dp->d_pkg : NPKG];
mobility = from->sct_mobil / 2;
if (vtype == I_CIVIL && from->sct_own != from->sct_oldown) {
wu(0, from->sct_own,