diff options
-rw-r--r-- | src/order_cmd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index a17a67cbc..fd4b64e4c 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -429,6 +429,7 @@ TileIndex Order::GetLocation(const Vehicle *v) const switch (this->GetType()) { case OT_GOTO_WAYPOINT: case OT_GOTO_STATION: + case OT_AUTOMATIC: return BaseStation::Get(this->GetDestination())->xy; case OT_GOTO_DEPOT: |