summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_company.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_company.cpp')
-rw-r--r--src/ai/api/ai_company.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ai/api/ai_company.cpp b/src/ai/api/ai_company.cpp
index a2f85e202..32e13caef 100644
--- a/src/ai/api/ai_company.cpp
+++ b/src/ai/api/ai_company.cpp
@@ -27,12 +27,6 @@
return ResolveCompanyID(company) == ResolveCompanyID(COMPANY_SELF);
}
-/* static */ bool AICompany::SetCompanyName(const char *name)
-{
- AILog::Error("AICompany::SetCompanyName is obsolete. Use AICompany::SetName instead.");
- return AICompany::SetName(name);
-}
-
/* static */ bool AICompany::SetName(const char *name)
{
EnforcePrecondition(false, !::StrEmpty(name));
@@ -41,12 +35,6 @@
return AIObject::DoCommand(0, 0, 0, CMD_RENAME_COMPANY, name);
}
-/* static */ char *AICompany::GetCompanyName(AICompany::CompanyID company)
-{
- AILog::Error("AICompany::GetCompanyName is obsolete. Use AICompany::GetName instead.");
- return AICompany::GetName(company);
-}
-
/* static */ char *AICompany::GetName(AICompany::CompanyID company)
{
company = ResolveCompanyID(company);