It used the path from supply recipient back to supply source. Has
always been broken that way.
continue;
if (sect.sct_effic < 60)
continue;
continue;
if (sect.sct_effic < 60)
continue;
- if (!BestLandPath(buf, &dest, §, &move_cost, MOB_MOVE))
+ if (!BestLandPath(buf, §, &dest, &move_cost, MOB_MOVE))
continue;
if (!opt_NOFOOD && type == I_FOOD)
minimum = 1 + (int)ceil(food_needed(sect.sct_item,
continue;
if (!opt_NOFOOD && type == I_FOOD)
minimum = 1 + (int)ceil(food_needed(sect.sct_item,
continue;
if (sect.sct_effic < 2)
continue;
continue;
if (sect.sct_effic < 2)
continue;
- if (!BestLandPath(buf, &dest, §, &move_cost, MOB_MOVE))
+ if (!BestLandPath(buf, §, &dest, &move_cost, MOB_MOVE))
continue;
if (!opt_NOFOOD && type == I_FOOD)
minimum = 1 + (int)ceil(food_needed(ship.shp_item,
continue;
if (!opt_NOFOOD && type == I_FOOD)
minimum = 1 + (int)ceil(food_needed(ship.shp_item,
continue;
getsect(land.lnd_x, land.lnd_y, §);
continue;
getsect(land.lnd_x, land.lnd_y, §);
- if (!BestLandPath(buf, &dest, §, &move_cost, MOB_MOVE))
+ if (!BestLandPath(buf, §, &dest, &move_cost, MOB_MOVE))
continue;
if ((land.lnd_ship >= 0) && (sect.sct_type != SCT_HARBR))
continue;
if ((land.lnd_ship >= 0) && (sect.sct_type != SCT_HARBR))