diff options
Diffstat (limited to 'src/ai/api/ai_error.hpp')
-rw-r--r-- | src/ai/api/ai_error.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_error.hpp b/src/ai/api/ai_error.hpp index 6a448ff3a..b9fd572bb 100644 --- a/src/ai/api/ai_error.hpp +++ b/src/ai/api/ai_error.hpp @@ -134,7 +134,7 @@ public: * Get the last error in string format (for human readability). * @return An ErrorMessage enum item, as string. */ - static const char *GetLastErrorString(); + static char *GetLastErrorString(); /** * Get the error based on the OpenTTD StringID. |