Changeset - r8679:758a631d655a
[Not reviewed]
master
0 1 0
glx - 16 years ago 2008-03-05 22:05:22
glx@openttd.org
(svn r12345) -Fix [FS#1828](r12296): don't try to restore backupped timetable when timetabling is disabled
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/order_cmd.cpp
Show inline comments
 
@@ -997,8 +997,8 @@ void RestoreVehicleOrders(const Vehicle 
 
				break;
 
			}
 

	
 
			/* Copy timetable */
 
			if (!DoCommandP(0, v->index | (i << 16) | (1 << 25),
 
			/* Copy timetable if enabled */
 
			if (_patches.timetabling && !DoCommandP(0, v->index | (i << 16) | (1 << 25),
 
					bak->order[i].wait_time << 16 | bak->order[i].travel_time, NULL,
 
					CMD_CHANGE_TIMETABLE | CMD_NO_TEST_IF_IN_NETWORK)) {
 
				break;
0 comments (0 inline, 0 general)