diff options
Diffstat (limited to 'src/ai/api/ai_cargo.hpp')
-rw-r--r-- | src/ai/api/ai_cargo.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_cargo.hpp b/src/ai/api/ai_cargo.hpp index bde235758..c8f8a04dd 100644 --- a/src/ai/api/ai_cargo.hpp +++ b/src/ai/api/ai_cargo.hpp @@ -56,7 +56,7 @@ public: * @note Never use this to check if it is a certain cargo. NewGRF can * redefine all of the names. */ - static const char *GetCargoLabel(CargoID cargo_type); + static char *GetCargoLabel(CargoID cargo_type); /** * Checks whether the give cargo is a freight or not. |