--- 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.