summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_town.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_town.hpp')
-rw-r--r--src/ai/api/ai_town.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_town.hpp b/src/ai/api/ai_town.hpp
index f9152106f..a4516f94b 100644
--- a/src/ai/api/ai_town.hpp
+++ b/src/ai/api/ai_town.hpp
@@ -112,7 +112,7 @@ public:
* @pre IsValidTown(town_id).
* @return The name of the town.
*/
- static const char *GetName(TownID town_id);
+ static char *GetName(TownID town_id);
/**
* Gets the number of inhabitants in the town.