File diff r23521:26cb73a2624c → r23522:1fb564b1efa6
src/saveload/waypoint_sl.cpp
Show inline comments
 
@@ -143,13 +143,14 @@ void MoveWaypointsToBaseStations()
 
	FOR_ALL_VEHICLES(v) {
 
		if (v->type != VEH_TRAIN) continue;
 

	
 
		UpdateWaypointOrder(&v->current_order);
 
	}
 

	
 
	_old_waypoints.Reset();
 
	_old_waypoints.clear();
 
	_old_waypoints.shrink_to_fit();
 
}
 

	
 
static const SaveLoad _old_waypoint_desc[] = {
 
	SLE_CONDVAR(OldWaypoint, xy,         SLE_FILE_U16 | SLE_VAR_U32,  SL_MIN_VERSION, SLV_6),
 
	SLE_CONDVAR(OldWaypoint, xy,         SLE_UINT32,                  SLV_6, SL_MAX_VERSION),
 
	SLE_CONDVAR(OldWaypoint, town_index, SLE_UINT16,                 SLV_12, SLV_122),