File diff r26193:4bc7915a2156 → r26194:f7347205838e
src/timetable_cmd.cpp
Show inline comments
 
@@ -406,7 +406,7 @@ void UpdateVehicleTimetable(Vehicle *v, 
 
		 * the timetable entry like is done for road vehicles/ships.
 
		 * Thus always make sure at least one tick is used between the
 
		 * processing of different orders when filling the timetable. */
 
		uint time_to_set = CeilDiv(std::max(time_taken, 1U), DAY_TICKS) * DAY_TICKS;
 
		uint time_to_set = CeilDiv(std::max(time_taken, 1U), ORIG_DAY_TICKS) * ORIG_DAY_TICKS;
 

	
 
		if (travelling && (autofilling || !real_current_order->IsTravelTimetabled())) {
 
			ChangeTimetable(v, v->cur_real_order_index, time_to_set, MTF_TRAVEL_TIME, autofilling);