mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r14986) -Doc: small error in a comment (PhilSophus)
This commit is contained in:
parent
f6f6f15604
commit
78d3fc59b9
@ -153,11 +153,13 @@ CommandCost CmdAutofillTimetable(TileIndex tile, uint32 flags, uint32 p1, uint32
|
||||
|
||||
if (flags & DC_EXEC) {
|
||||
if (HasBit(p2, 0)) {
|
||||
/* Start autofilling the timetable, which clears all the current
|
||||
* timings and clears the "timetable has started" bit. */
|
||||
/* Start autofilling the timetable, which clears the
|
||||
* "timetable has started" bit. Times are not cleared anymore, but are
|
||||
* overwritten when the order is reached now. */
|
||||
SetBit(v->vehicle_flags, VF_AUTOFILL_TIMETABLE);
|
||||
ClrBit(v->vehicle_flags, VF_TIMETABLE_STARTED);
|
||||
|
||||
/* Overwrite waiting times only if they got longer */
|
||||
if (HasBit(p2, 1)) SetBit(v->vehicle_flags, VF_AUTOFILL_PRES_WAIT_TIME);
|
||||
|
||||
v->lateness_counter = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user