(dodistribute): Import could export a civilian when the dist center
didn't have any.
This commit is contained in:
parent
786418ae02
commit
67480d040d
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ dodistribute(struct sctstr *sp, int imex, s_char *path, double dist_i_cost,
|
||||||
|
|
||||||
if (amt_dist < amt) {
|
if (amt_dist < amt) {
|
||||||
amt = amt_dist;
|
amt = amt_dist;
|
||||||
if (amt_dist == 0)
|
if (amt_dist <= 0)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
pack = ip->i_pkg[dist_packing];
|
pack = ip->i_pkg[dist_packing];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue