src/ai/api/ai_cargo.hpp
branchnoai
changeset 9814 be51ea0adc29
parent 9737 ee408edf3851
child 9829 80fbe02a4184
--- a/src/ai/api/ai_cargo.hpp	Tue Mar 25 12:09:42 2008 +0000
+++ b/src/ai/api/ai_cargo.hpp	Tue Mar 25 12:12:45 2008 +0000
@@ -42,12 +42,12 @@
 	/**
 	 * Get the income for transporting a piece of cargo over the
 	 *   given distance within the specified time.
+	 * @param cargo_type the cargo to transport.
 	 * @param distance the distance the cargo travels from begin to end.
 	 * @param days_in_transit amount of (game) days the cargo is in transit.
-	 * @param cargo_type the cargo to transport.
 	 * @return the amount of money that would be earned by this trip.
 	 */
-	static int32 GetCargoIncome(uint32 distance, uint32 days_in_transit, CargoID cargo_type);
+	static int32 GetCargoIncome(CargoID cargo_type, uint32 distance, uint32 days_in_transit);
 };
 
 #endif /* AI_CARGO_HPP */