diff options
author | rubidium <rubidium@openttd.org> | 2010-12-25 19:47:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-25 19:47:15 +0000 |
commit | 2c41b8ee97f4b6211a4cb88dc4df460b615470fb (patch) | |
tree | 1c4c803f95555fa0f628e3a488bdf213f3714635 /src/viewport.cpp | |
parent | 13c5cd820b30cd3c5a7b1236e24a187ac835f7d5 (diff) | |
download | openttd-2c41b8ee97f4b6211a4cb88dc4df460b615470fb.tar.xz |
(svn r21637) -Codechange: make it more clear that IS_PALETTE_COLOUR belongs to TextColour
Diffstat (limited to 'src/viewport.cpp')
-rw-r--r-- | src/viewport.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp index ef78356c4..3fcc45125 100644 --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -1407,9 +1407,9 @@ static void ViewportDrawStrings(DrawPixelInfo *dpi, const StringSpriteToDrawVect /* if we didn't draw a rectangle, or if transparant building is on, * draw the text in the colour the rectangle would have */ if (IsTransparencySet(TO_SIGNS) && ss->string != STR_WHITE_SIGN) { - /* Real colours need the IS_PALETTE_COLOUR flag + /* Real colours need the TC_IS_PALETTE_COLOUR flag * otherwise colours from _string_colourmap are assumed. */ - colour = (TextColour)_colour_gradient[ss->colour][6] | IS_PALETTE_COLOUR; + colour = (TextColour)_colour_gradient[ss->colour][6] | TC_IS_PALETTE_COLOUR; } /* Draw the rectangle if 'tranparent station signs' is off, |