src/vehicle_gui.cpp
changeset 8302 ed068d41cf1e
parent 8284 ebdc5ba08874
child 8333 b01316b861c2
equal deleted inserted replaced
8301:9f8d82ea6667 8302:ed068d41cf1e
  1988 				} else {
  1988 				} else {
  1989 					Depot *depot = GetDepot(v->current_order.dest);
  1989 					Depot *depot = GetDepot(v->current_order.dest);
  1990 					SetDParam(0, depot->town_index);
  1990 					SetDParam(0, depot->town_index);
  1991 					SetDParam(1, v->GetDisplaySpeed());
  1991 					SetDParam(1, v->GetDisplaySpeed());
  1992 				}
  1992 				}
  1993 				if (HasBit(v->current_order.flags, OFB_HALT_IN_DEPOT) && !HasBit(v->current_order.flags, OFB_PART_OF_ORDERS)) {
  1993 				if (HasBit(v->current_order.flags, OF_HALT_IN_DEPOT) && !HasBit(v->current_order.flags, OF_PART_OF_ORDERS)) {
  1994 					str = _heading_for_depot_strings[v->type] + _patches.vehicle_speed;
  1994 					str = _heading_for_depot_strings[v->type] + _patches.vehicle_speed;
  1995 				} else {
  1995 				} else {
  1996 					str = _heading_for_depot_service_strings[v->type] + _patches.vehicle_speed;
  1996 					str = _heading_for_depot_service_strings[v->type] + _patches.vehicle_speed;
  1997 				}
  1997 				}
  1998 			} break;
  1998 			} break;