Changeset - r10677:1a6f3c7876cf
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-01-10 23:21:46
rubidium@openttd.org
(svn r14986) -Doc: small error in a comment (PhilSophus)
1 file changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/timetable_cmd.cpp
Show inline comments
 
@@ -153,11 +153,13 @@ CommandCost CmdAutofillTimetable(TileInd
 

	
 
	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;
0 comments (0 inline, 0 general)