summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-10-24 14:49:45 +0000
committerrubidium <rubidium@openttd.org>2008-10-24 14:49:45 +0000
commit42df5cbc03042b75cab04b634a1c53b3dd87d507 (patch)
tree40582103b55598cf5fc668c1f58b05dee89d131d /src/vehicle_gui.cpp
parente0940888523e2a48760e5c528300be5ef983960d (diff)
downloadopenttd-42df5cbc03042b75cab04b634a1c53b3dd87d507.tar.xz
(svn r14524) -Add: stop-in-depot as part of orders (PhilSophus)
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r--src/vehicle_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index fb45c0901..5d913da1b 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -1913,7 +1913,7 @@ struct VehicleViewWindow : Window {
SetDParam(0, depot->town_index);
SetDParam(1, v->GetDisplaySpeed());
}
- if ((v->current_order.GetDepotActionType() & ODATFB_HALT) && !(v->current_order.GetDepotOrderType() & ODTFB_PART_OF_ORDERS)) {
+ if (v->current_order.GetDepotActionType() & ODATFB_HALT) {
str = _heading_for_depot_strings[v->type] + _settings_client.gui.vehicle_speed;
} else {
str = _heading_for_depot_service_strings[v->type] + _settings_client.gui.vehicle_speed;