diff options
author | rubidium <rubidium@openttd.org> | 2008-04-07 19:18:56 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-07 19:18:56 +0000 |
commit | f1cd7ef5ee9d0862622d53a4c348d6f9debd500e (patch) | |
tree | 107ad3411123e54f1869835417c772620cee3502 /src/timetable_cmd.cpp | |
parent | 45165fe075f9eb4234ea876fc5695a422eced66e (diff) | |
download | openttd-f1cd7ef5ee9d0862622d53a4c348d6f9debd500e.tar.xz |
(svn r12615) -Codechange: rename some enums related to depot orders to make it more clear that they are no loading/unloading flags. Also add more type strictness.
Diffstat (limited to 'src/timetable_cmd.cpp')
-rw-r--r-- | src/timetable_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timetable_cmd.cpp b/src/timetable_cmd.cpp index d2aa1f867..62f91d051 100644 --- a/src/timetable_cmd.cpp +++ b/src/timetable_cmd.cpp @@ -24,7 +24,7 @@ static void ChangeTimetable(Vehicle *v, VehicleOrderID order_number, uint16 time order->wait_time = time; } - if (v->cur_order_index == order_number && HasBit(v->current_order.GetDepotOrderType(), OF_PART_OF_ORDERS)) { + if (v->cur_order_index == order_number && v->current_order.GetDepotOrderType() & ODTFB_PART_OF_ORDERS) { if (is_journey) { v->current_order.travel_time = time; } else { |