diff options
author | rubidium <rubidium@openttd.org> | 2008-04-18 04:54:09 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-18 04:54:09 +0000 |
commit | f4b07a78c42346d8a28a8291be24df6a179ef4fb (patch) | |
tree | d7125c8c858791939606b0bc9eec620bb3d141d9 /src/timetable_cmd.cpp | |
parent | ca1f8fbe2ed1a9ba1b963d2d09eef074cc54c498 (diff) | |
download | openttd-f4b07a78c42346d8a28a8291be24df6a179ef4fb.tar.xz |
(svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs).
Diffstat (limited to 'src/timetable_cmd.cpp')
-rw-r--r-- | src/timetable_cmd.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/timetable_cmd.cpp b/src/timetable_cmd.cpp index 62f91d051..4d463fb60 100644 --- a/src/timetable_cmd.cpp +++ b/src/timetable_cmd.cpp @@ -160,15 +160,15 @@ void UpdateVehicleTimetable(Vehicle *v, bool travelling) if (!_patches.timetabling) return; /* 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); - return; - } + * 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); + return; + } if (!HasBit(v->vehicle_flags, VF_TIMETABLE_STARTED)) return; - if (HasBit(v->vehicle_flags, VF_AUTOFILL_TIMETABLE)) { + if (HasBit(v->vehicle_flags, VF_AUTOFILL_TIMETABLE)) { if (timetabled == 0) { /* Round the time taken up to the nearest day, as this will avoid * confusion for people who are timetabling in days, and can be @@ -182,7 +182,7 @@ void UpdateVehicleTimetable(Vehicle *v, bool travelling) * assume that autofill is finished and turn it off again. */ ClrBit(v->vehicle_flags, VF_AUTOFILL_TIMETABLE); } - } + } /* Vehicles will wait at stations if they arrive early even if they are not * timetabled to wait there, so make sure the lateness counter is updated |