summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-25 19:47:15 +0000
committerrubidium <rubidium@openttd.org>2010-12-25 19:47:15 +0000
commit2c41b8ee97f4b6211a4cb88dc4df460b615470fb (patch)
tree1c4c803f95555fa0f628e3a488bdf213f3714635 /src/company_cmd.cpp
parent13c5cd820b30cd3c5a7b1236e24a187ac835f7d5 (diff)
downloadopenttd-2c41b8ee97f4b6211a4cb88dc4df460b615470fb.tar.xz
(svn r21637) -Codechange: make it more clear that IS_PALETTE_COLOUR belongs to TextColour
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r--src/company_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp
index 3e9cf9463..40a603916 100644
--- a/src/company_cmd.cpp
+++ b/src/company_cmd.cpp
@@ -118,8 +118,8 @@ void SetLocalCompany(CompanyID new_company)
*/
uint16 GetDrawStringCompanyColour(CompanyID company)
{
- if (!Company::IsValidID(company)) return _colour_gradient[COLOUR_WHITE][4] | IS_PALETTE_COLOUR;
- return (_colour_gradient[_company_colours[company]][4]) | IS_PALETTE_COLOUR;
+ if (!Company::IsValidID(company)) return _colour_gradient[COLOUR_WHITE][4] | TC_IS_PALETTE_COLOUR;
+ return (_colour_gradient[_company_colours[company]][4]) | TC_IS_PALETTE_COLOUR;
}
/**