File diff r14125:3ee08ca0423e → r14126:f23988064e74
src/order_cmd.cpp
Show inline comments
 
@@ -186,13 +186,13 @@ void InvalidateVehicleOrder(const Vehicl
 
	SetWindowDirty(WC_VEHICLE_ORDERS,    v->index);
 
	SetWindowDirty(WC_VEHICLE_TIMETABLE, v->index);
 
}
 

	
 
/**
 
 *
 
 * Assign data to an order (from an other order)
 
 * Assign data to an order (from another order)
 
 *   This function makes sure that the index is maintained correctly
 
 *
 
 */
 
void Order::AssignOrder(const Order &other)
 
{
 
	this->type  = other.type;
 
@@ -1107,13 +1107,13 @@ CommandCost CmdModifyOrder(TileIndex til
 
		}
 
	}
 

	
 
	return CommandCost();
 
}
 

	
 
/** Clone/share/copy an order-list of an other vehicle.
 
/** Clone/share/copy an order-list of another vehicle.
 
 * @param tile unused
 
 * @param flags operation to perform
 
 * @param p1 various bitstuffed elements
 
 * - p1 = (bit  0-15) - destination vehicle to clone orders to (p1 & 0xFFFF)
 
 * - p1 = (bit 16-31) - source vehicle to clone orders from, if any (none for CO_UNSHARE)
 
 * @param p2 mode of cloning: CO_SHARE, CO_COPY, or CO_UNSHARE