diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-19 21:32:20 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-19 21:32:20 +0000 |
commit | 6801cceda1cb1d81c627b6d30c19933d81179ce9 (patch) | |
tree | 7d43b1e4a7bf1344b1d4cfb2dc2618720a0040e8 /src/timetable_cmd.cpp | |
parent | c0a2c0c23e129cb81400c5204fc9d0eedd9afb85 (diff) | |
download | openttd-6801cceda1cb1d81c627b6d30c19933d81179ce9.tar.xz |
(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/timetable_cmd.cpp')
-rw-r--r-- | src/timetable_cmd.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timetable_cmd.cpp b/src/timetable_cmd.cpp index b5ebecff8..ceb82bd26 100644 --- a/src/timetable_cmd.cpp +++ b/src/timetable_cmd.cpp @@ -122,7 +122,7 @@ CommandCost CmdAutofillTimetable(TileIndex tile, uint32 flags, uint32 p1, uint32 /* Start autofilling the timetable, which clears all the current * timings and clears the "timetable has started" bit. */ SETBIT(v->vehicle_flags, VF_AUTOFILL_TIMETABLE); - CLRBIT(v->vehicle_flags, VF_TIMETABLE_STARTED); + ClrBit(v->vehicle_flags, VF_TIMETABLE_STARTED); for (Order *order = GetVehicleOrder(v, 0); order != NULL; order = order->next) { order->wait_time = 0; @@ -132,7 +132,7 @@ CommandCost CmdAutofillTimetable(TileIndex tile, uint32 flags, uint32 p1, uint32 v->current_order.wait_time = 0; v->current_order.travel_time = 0; } else { - CLRBIT(v->vehicle_flags, VF_AUTOFILL_TIMETABLE); + ClrBit(v->vehicle_flags, VF_AUTOFILL_TIMETABLE); } } @@ -173,7 +173,7 @@ void UpdateVehicleTimetable(Vehicle *v, bool travelling) } else if (v->cur_order_index == 0) { /* Otherwise if we're at the beginning and it already has a value, * assume that autofill is finished and turn it off again. */ - CLRBIT(v->vehicle_flags, VF_AUTOFILL_TIMETABLE); + ClrBit(v->vehicle_flags, VF_AUTOFILL_TIMETABLE); } } |