--- a/src/ship_cmd.cpp Mon Jun 25 21:50:36 2007 +0000
+++ b/src/ship_cmd.cpp Mon Jun 25 23:14:13 2007 +0000
@@ -258,8 +258,8 @@
if (!(v->current_order.flags & OF_PART_OF_ORDERS)) return;
if (v->current_order.flags & OF_SERVICE_IF_NEEDED &&
!VehicleNeedsService(v)) {
+ UpdateVehicleTimetable(v, true);
v->cur_order_index++;
- UpdateVehicleTimetable(v, true);
}
break;
@@ -696,9 +696,9 @@
DistanceManhattan(v->dest_tile, gp.new_tile) <= 3) {
/* We got within 3 tiles of our target buoy, so let's skip to our
* next order */
+ UpdateVehicleTimetable(v, true);
v->cur_order_index++;
v->current_order.type = OT_DUMMY;
- UpdateVehicleTimetable(v, true);
InvalidateVehicleOrder(v);
} else {
/* Non-buoy orders really need to reach the tile */