summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_event_types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_event_types.hpp')
-rw-r--r--src/ai/api/ai_event_types.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_event_types.hpp b/src/ai/api/ai_event_types.hpp
index 9c0e8a396..6fbf5be3f 100644
--- a/src/ai/api/ai_event_types.hpp
+++ b/src/ai/api/ai_event_types.hpp
@@ -254,7 +254,7 @@ public:
* Get the name of the offered engine.
* @return The name the engine has.
*/
- const char *GetName();
+ char *GetName();
/**
* Get the cargo-type of the offered engine. In case it can transport 2 cargos, it