(dodistribute): Import could export a civilian when the dist center

didn't have any.
This commit is contained in:
Markus Armbruster 2004-09-17 12:58:51 +00:00
parent 786418ae02
commit 67480d040d

View file

@ -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];