diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-20 13:35:54 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-20 13:35:54 +0000 |
commit | eeaa348f8bfafae1a6e56b857a97d9d23577dcac (patch) | |
tree | 51f15a2e52f58ea4446467086c5441cebe4324bf /src/timetable_cmd.cpp | |
parent | b8885630aa9942ea924ffb6eeabc266140485435 (diff) | |
download | openttd-eeaa348f8bfafae1a6e56b857a97d9d23577dcac.tar.xz |
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/timetable_cmd.cpp')
-rw-r--r-- | src/timetable_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timetable_cmd.cpp b/src/timetable_cmd.cpp index ceb82bd26..2678186f5 100644 --- a/src/timetable_cmd.cpp +++ b/src/timetable_cmd.cpp @@ -121,7 +121,7 @@ CommandCost CmdAutofillTimetable(TileIndex tile, uint32 flags, uint32 p1, uint32 if (p2 == 1) { /* Start autofilling the timetable, which clears all the current * timings and clears the "timetable has started" bit. */ - SETBIT(v->vehicle_flags, VF_AUTOFILL_TIMETABLE); + SetBit(v->vehicle_flags, VF_AUTOFILL_TIMETABLE); ClrBit(v->vehicle_flags, VF_TIMETABLE_STARTED); for (Order *order = GetVehicleOrder(v, 0); order != NULL; order = order->next) { @@ -155,7 +155,7 @@ void UpdateVehicleTimetable(Vehicle *v, bool travelling) /* Make sure the timetable only starts when the vehicle reaches the first * order, not when travelling from the depot to the first station. */ if (v->cur_order_index == 0 && !HasBit(v->vehicle_flags, VF_TIMETABLE_STARTED)) { - SETBIT(v->vehicle_flags, VF_TIMETABLE_STARTED); + SetBit(v->vehicle_flags, VF_TIMETABLE_STARTED); return; } |