src/ai/api/ai_vehicle.hpp
branchnoai
changeset 10196 aecabd927420
parent 10189 b18d1d5b047d
child 10339 ce6cd68d9eb8
--- a/src/ai/api/ai_vehicle.hpp	Tue Apr 15 22:29:00 2008 +0000
+++ b/src/ai/api/ai_vehicle.hpp	Tue Apr 15 22:34:49 2008 +0000
@@ -176,7 +176,7 @@
 	 * @pre IsValidVehicle(vehicle_id).
 	 * @return The current profit the vehicle has.
 	 */
-	static int32 GetProfitThisYear(VehicleID vehicle_id);
+	static Money GetProfitThisYear(VehicleID vehicle_id);
 
 	/**
 	 * Get the profit of last year of a vehicle.
@@ -184,7 +184,7 @@
 	 * @pre IsValidVehicle(vehicle_id).
 	 * @return The profit the vehicle had last year.
 	 */
-	static int32 GetProfitLastYear(VehicleID vehicle_id);
+	static Money GetProfitLastYear(VehicleID vehicle_id);
 
 	/**
 	 * Get the type of vehicle.