summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_vehicle.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_vehicle.hpp')
-rw-r--r--src/ai/api/ai_vehicle.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_vehicle.hpp b/src/ai/api/ai_vehicle.hpp
index 1336e9efe..f0be433da 100644
--- a/src/ai/api/ai_vehicle.hpp
+++ b/src/ai/api/ai_vehicle.hpp
@@ -126,7 +126,7 @@ public:
* @pre IsValidVehicle(vehicle_id).
* @return The name the vehicle has.
*/
- static const char *GetName(VehicleID vehicle_id);
+ static char *GetName(VehicleID vehicle_id);
/**
* Get the current location of a vehicle.