diff options
author | yexo <yexo@openttd.org> | 2009-02-14 21:06:58 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-02-14 21:06:58 +0000 |
commit | 58359b8d6e411eb43fa362ce364d89bb2a0d71c0 (patch) | |
tree | 1c17d9fb86448ec029114e32754f565696680841 /src/ai/api/ai_company.hpp | |
parent | 7fdde2fec0f3038ef0c85218ba55ed83f082a8c1 (diff) | |
download | openttd-58359b8d6e411eb43fa362ce364d89bb2a0d71c0.tar.xz |
(svn r15484) -Change [API CHANGE]: Remove AICompany::GetCompanyName and SetCompanyName. They've been replaced with GetName and SetName.
Diffstat (limited to 'src/ai/api/ai_company.hpp')
-rw-r--r-- | src/ai/api/ai_company.hpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/ai/api/ai_company.hpp b/src/ai/api/ai_company.hpp index b08415dd7..18b0bc0d8 100644 --- a/src/ai/api/ai_company.hpp +++ b/src/ai/api/ai_company.hpp @@ -44,11 +44,6 @@ public: static bool IsMine(CompanyID company); /** - * Obsolete, use AICompany::SetName instead. - */ - static bool SetCompanyName(const char *name); - - /** * Set the name of your company. * @param name The new name of the company. * @pre 'name' must have at least one character. @@ -59,11 +54,6 @@ public: static bool SetName(const char *name); /** - * Obsolete, use AICompany::GetName instead. - */ - static char *GetCompanyName(CompanyID company); - - /** * Get the name of the given company. * @param company The company to get the name for. * @pre ResolveCompanyID(company) != COMPANY_INVALID |