summaryrefslogtreecommitdiff
path: root/src/ship_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r--src/ship_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp
index cd7fe29a1..3d63347b9 100644
--- a/src/ship_cmd.cpp
+++ b/src/ship_cmd.cpp
@@ -627,7 +627,7 @@ static void ShipController(Vehicle *v)
UpdateVehicleTimetable(v, true);
v->cur_order_index++;
v->current_order.MakeDummy();
- InvalidateVehicleOrder(v);
+ InvalidateVehicleOrder(v, 0);
} else {
/* Non-buoy orders really need to reach the tile */
if (v->dest_tile == gp.new_tile) {
@@ -647,7 +647,7 @@ static void ShipController(Vehicle *v)
} else { // leave stations without docks right aways
v->current_order.MakeLeaveStation();
v->cur_order_index++;
- InvalidateVehicleOrder(v);
+ InvalidateVehicleOrder(v, 0);
}
}
}