summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_industry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_industry.cpp')
-rw-r--r--src/ai/api/ai_industry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_industry.cpp b/src/ai/api/ai_industry.cpp
index 3d7836cc2..686a5d3fe 100644
--- a/src/ai/api/ai_industry.cpp
+++ b/src/ai/api/ai_industry.cpp
@@ -28,7 +28,7 @@
char *industry_name = MallocT<char>(len);
::SetDParam(0, industry_id);
- ::GetString(industry_name, STR_INDUSTRY, &industry_name[len - 1]);
+ ::GetString(industry_name, STR_INDUSTRY_NAME, &industry_name[len - 1]);
return industry_name;
}