forked from mirror/OpenTTD
(svn r15123) -Fix [NoAI]: 'const char *' implies that the return value should not be free'd, which is should .. so make them 'char *'
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user